Skip to content

Commit

Permalink
Upgrade test images to ubuntu:jammy-20240111
Browse files Browse the repository at this point in the history
  • Loading branch information
scottfrederick committed Jan 17, 2024
1 parent a8c1782 commit 35b4545
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM ubuntu:jammy-20231211.1 as prepare
FROM ubuntu:jammy-20240111 as prepare
COPY downloads/* /opt/download/
RUN mkdir -p /opt/jdk && \
cd /opt/jdk && \
tar xzf /opt/download/* --strip-components=1

FROM ubuntu:jammy-20231211.1
FROM ubuntu:jammy-20240111
RUN apt-get update && apt-get install -y software-properties-common curl
COPY --from=prepare /opt/jdk /opt/jdk
ENV JAVA_HOME /opt/jdk
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM ubuntu:jammy-20231211.1 as prepare
FROM ubuntu:jammy-20240111 as prepare
COPY downloads/* /opt/download/
RUN mkdir -p /opt/jdk && \
cd /opt/jdk && \
tar xzf /opt/download/* --strip-components=1

FROM ubuntu:jammy-20231211.1
FROM ubuntu:jammy-20240111
COPY --from=prepare /opt/jdk /opt/jdk
ENV JAVA_HOME /opt/jdk
ENV PATH $JAVA_HOME/bin:$PATH

0 comments on commit 35b4545

Please sign in to comment.