Skip to content

Commit caa92b9

Browse files
Update builder images to Ubuntu 26.04 LTS (#48)
1 parent 80172ad commit caa92b9

2 files changed

Lines changed: 6 additions & 18 deletions

File tree

builders/dockerfile/Dockerfile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
1-
FROM ubuntu:24.04
1+
FROM ubuntu:26.04
22

33
# https://docs.docker.com/reference/dockerfile/#example-cache-apt-packages
44
RUN rm -f /etc/apt/apt.conf.d/docker-clean; echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache
5+
# hadolint ignore=DL3008 # Pinning apt package versions is fragile since old versions are removed after new versions are published. We're using an Ubuntu LTS base, so the chances of breaking changes are low.
56
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
67
--mount=type=cache,target=/var/lib/apt,sharing=locked \
78
apt-get update && \
8-
apt-get install -y --no-install-recommends software-properties-common=0.99.49.4 wget=1.21.4-1ubuntu4.1 libssl3=3.0.13-0ubuntu3.9 ca-certificates=20240203 && \
9-
# ^ This package includes `add-apt-repository`
10-
add-apt-repository ppa:git-core/ppa && \
11-
apt-get update && \
12-
# ^ Get the latest version of Git from their PPA (we need 2.49.0 or later because we use the `git clone --revision` flag)
13-
apt-get install -y --no-install-recommends git=1:2.53.0-0ppa1~ubuntu24.04.1 && \
14-
apt-get remove -y software-properties-common && \
15-
apt-get autoremove -y
9+
apt-get install -y --no-install-recommends git wget libssl3 ca-certificates jq
1610

1711
RUN groupadd -g 65532 -r appuser && \
1812
useradd -u 65532 -m -g appuser appuser

builders/railpack/Dockerfile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
11
ARG RAILPACK_VERSION=0.23.0
22

3-
FROM ubuntu:24.04
3+
FROM ubuntu:26.04
44

55
# https://docs.docker.com/reference/dockerfile/#example-cache-apt-packages
66
RUN rm -f /etc/apt/apt.conf.d/docker-clean; echo 'Binary::apt::APT::Keep-Downloaded-Packages "true";' > /etc/apt/apt.conf.d/keep-cache
7+
# hadolint ignore=DL3008 # Pinning apt package versions is fragile since old versions are removed after new versions are published. We're using an Ubuntu LTS base, so the chances of breaking changes are low.
78
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
89
--mount=type=cache,target=/var/lib/apt,sharing=locked \
910
apt-get update && \
10-
apt-get install -y --no-install-recommends software-properties-common=0.99.49.4 wget=1.21.4-1ubuntu4.1 libssl3=3.0.13-0ubuntu3.9 ca-certificates=20240203 jq=1.7.1-3ubuntu0.24.04.1 && \
11-
# ^ This package includes `add-apt-repository`
12-
add-apt-repository ppa:git-core/ppa && \
13-
apt-get update && \
14-
# ^ Get the latest version of Git from their PPA (we need 2.49.0 or later because we use the `git clone --revision` flag)
15-
apt-get install -y --no-install-recommends git=1:2.53.0-0ppa1~ubuntu24.04.1 && \
16-
apt-get remove -y software-properties-common && \
17-
apt-get autoremove -y
11+
apt-get install -y --no-install-recommends git wget libssl3 ca-certificates jq
1812

1913
ARG RAILPACK_VERSION
2014
RUN \

0 commit comments

Comments
 (0)