Skip to content

Commit 2fab310

Browse files
authored
fix: match ubuntu tags on dogfood (coder#5996)
* fix: match ubuntu tags on dogfood golangci-lint needs GLIBC>=2.32 which made me notice that we're building binaries on a difference Ubuntu version than we dev on. * Fix sources
1 parent 496138b commit 2fab310

File tree

7 files changed

+10
-11
lines changed

7 files changed

+10
-11
lines changed

dogfood/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM rust:slim AS rust-utils
44
ENV CARGO_INSTALL_ROOT=/tmp/
55
RUN cargo install exa bat ripgrep typos-cli watchexec-cli
66

7-
FROM ubuntu AS go
7+
FROM ubuntu:jammy AS go
88

99
RUN apt-get update && apt-get install --yes curl gcc
1010
# Install Go manually, so that we can control the version
@@ -80,8 +80,7 @@ RUN apk add curl unzip
8080
RUN curl -L -o protoc.zip https://github.com/protocolbuffers/protobuf/releases/download/v21.5/protoc-21.5-linux-x86_64.zip
8181
RUN unzip protoc.zip
8282

83-
# Ubuntu 20.04 LTS (Focal Fossa)
84-
FROM ubuntu:focal
83+
FROM ubuntu:jammy
8584

8685
SHELL ["/bin/bash", "-c"]
8786

dogfood/files/etc/apt/sources.list

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
deb http://mirror.pit.teraswitch.com/ubuntu/ focal main restricted universe
2-
deb http://mirror.pit.teraswitch.com/ubuntu/ focal-updates main restricted universe
3-
deb http://mirror.pit.teraswitch.com/ubuntu/ focal-backports main restricted universe
1+
deb http://mirror.pit.teraswitch.com/ubuntu/ jammy main restricted universe
2+
deb http://mirror.pit.teraswitch.com/ubuntu/ jammy-updates main restricted universe
3+
deb http://mirror.pit.teraswitch.com/ubuntu/ jammy-backports main restricted universe
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
deb [signed-by=/usr/share/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu focal stable
1+
deb [signed-by=/usr/share/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu jammy stable
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
deb [signed-by=/usr/share/keyrings/hashicorp.gpg] https://apt.releases.hashicorp.com focal main
1+
deb [signed-by=/usr/share/keyrings/hashicorp.gpg] https://apt.releases.hashicorp.com jammy main
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_14.x focal main
1+
deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_14.x jammy main
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
deb [signed-by=/usr/share/keyrings/postgresql.gpg] https://apt.postgresql.org/pub/repos/apt focal-pgdg main
1+
deb [signed-by=/usr/share/keyrings/postgresql.gpg] https://apt.postgresql.org/pub/repos/apt jammy-pgdg main
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe
1+
deb http://security.ubuntu.com/ubuntu/ jammy-security main restricted universe

0 commit comments

Comments
 (0)