Skip to content

Commit

Permalink
Upgrade Docker base image Ubuntu 22 -> Ubuntu 24 (SeleniumHQ#2252)
Browse files Browse the repository at this point in the history
Co-authored-by: Viet Nguyen Duc <[email protected]>
  • Loading branch information
StegSchreck and VietND96 authored Jun 22, 2024
1 parent 827cbc3 commit 126d782
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Base/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:jammy-20240530
FROM ubuntu:noble-20240530
LABEL authors="Selenium <[email protected]>"

# Arguments to define the version of dependencies to download
Expand Down Expand Up @@ -38,9 +38,9 @@ ENV DEBIAN_FRONTEND=noninteractive \
# Includes minimal runtime used for executing non GUI Java programs
#========================
RUN if [ "$(dpkg --print-architecture)" = "amd64" ]; then \
echo "deb http://archive.ubuntu.com/ubuntu jammy main universe\n" > /etc/apt/sources.list \
&& echo "deb http://archive.ubuntu.com/ubuntu jammy-updates main universe\n" >> /etc/apt/sources.list \
&& echo "deb http://security.ubuntu.com/ubuntu jammy-security main universe\n" >> /etc/apt/sources.list ; \
echo "deb http://archive.ubuntu.com/ubuntu noble main universe\n" > /etc/apt/sources.list \
&& echo "deb http://archive.ubuntu.com/ubuntu noble-updates main universe\n" >> /etc/apt/sources.list \
&& echo "deb http://security.ubuntu.com/ubuntu noble-security main universe\n" >> /etc/apt/sources.list ; \
fi \
&& apt-get -qqy update \
&& apt-get upgrade -yq \
Expand Down

0 comments on commit 126d782

Please sign in to comment.