Skip to content

Commit

Permalink
Use Ubuntu 24.04 in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
replaceafill authored Feb 24, 2025
1 parent c9b1705 commit 696271c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG TARGET=archivematica-acceptance-tests

ARG UBUNTU_VERSION=22.04
ARG UBUNTU_VERSION=24.04

FROM ubuntu:${UBUNTU_VERSION} AS base

Expand All @@ -12,6 +12,13 @@ ARG SELENIUM_DIR=/selenium

ENV DEBIAN_FRONTEND=noninteractive

# Ubuntu 24.04 and later Docker images include a default user with UID (1000)
# and GID (1000). Remove this user to prevent conflicts with the USER_ID and
# GROUP_ID build arguments.
RUN set -ex \
&& id -u ubuntu >/dev/null 2>&1 \
&& userdel --remove ubuntu || true

RUN set -ex \
&& apt-get -qqy update \
&& apt-get -qqy --no-install-recommends install \
Expand Down Expand Up @@ -103,7 +110,7 @@ RUN set -ex \
bzip2 \
gnupg \
google-chrome-stable \
libasound2 \
libasound2t64 \
libdbus-glib-1-2 \
libdrm2 \
libgbm1 \
Expand Down

0 comments on commit 696271c

Please sign in to comment.