Skip to content

Commit 41a1d84

Browse files
committed
fix: update Docker base image to non-EOL distro
1 parent 509dd08 commit 41a1d84

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

Dockerfile

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM openjdk:16.0.1-jdk-slim-buster
1+
FROM eclipse-temurin:17-jdk-jammy
22

33
# Install updates
44
RUN apt-get update -yq \
@@ -18,15 +18,15 @@ ENV PATH="${PATH}:/usr/local/go/bin"
1818
# Install dotnet SDK
1919
RUN apt install apt-transport-https dirmngr gnupg ca-certificates -yq \
2020
&& apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF \
21-
&& echo "deb https://download.mono-project.com/repo/debian stable-buster main" | tee /etc/apt/sources.list.d/mono-official-stable.list \
21+
&& echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main"| tee /etc/apt/sources.list.d/mono-official-stable.list \
2222
&& apt update -yq \
2323
&& apt install mono-devel -yq
2424

2525
# Install rust
2626
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
2727

2828
# Install Python
29-
RUN apt-get install -yq python
29+
RUN apt-get install -yq python3 python-is-python3
3030

3131
# Install Kotlin
3232
RUN apt install -yq wget unzip \
@@ -37,10 +37,8 @@ RUN apt install -yq wget unzip \
3737
ENV PATH $PATH:/usr/lib/kotlinc/bin
3838

3939
# Install PHP
40-
RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg \
41-
&& echo "deb https://packages.sury.org/php/ buster main" > /etc/apt/sources.list.d/php.list \
42-
&& apt-get update -yq \
43-
&& apt-get install -y php8.2
40+
RUN apt-get update -yq \
41+
&& apt-get install -yq php php-cli php-common php-xml php-mbstring php-curl
4442

4543
# Setup library
46-
RUN apt-get install -yq chromium
44+
RUN apt-get install -yq chromium-browser || true

0 commit comments

Comments
 (0)