Skip to content

Commit

Permalink
upgraded base image from bullseye to bookworm, rebased deprecated ope…
Browse files Browse the repository at this point in the history
…njdk image to eclipse-temurin for jauto building
  • Loading branch information
heshiming committed Aug 3, 2024
1 parent 56caf3f commit caec7a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:18-slim-bullseye AS jauto_build
FROM eclipse-temurin:22-jammy AS jauto_build
USER root
RUN apt-get update && \
apt-get install -y --no-install-recommends curl cmake gcc g++ make libc-dev && \
Expand All @@ -13,7 +13,7 @@ RUN tar xfz jauto.tar.gz && \
cmake ../jauto-$JAUTO_VER && \
cmake --build .

FROM debian:bullseye-slim AS util_build
FROM debian:bookworm-slim AS util_build
USER root
RUN apt-get update && \
apt-get install -y --no-install-recommends gcc libx11-dev libc-dev && \
Expand All @@ -23,7 +23,7 @@ ADD utils /tmp/utils
WORKDIR /tmp/utils
RUN gcc show_text.c -O2 -lX11 -o show_text

FROM debian:bullseye-slim
FROM debian:bookworm-slim
USER root
RUN apt-get update && \
apt-get install -y --no-install-recommends curl sudo ed xvfb x11vnc x11-utils xdotool socat python3-websockify procps xfonts-scalable tzdata && \
Expand Down

0 comments on commit caec7a5

Please sign in to comment.