Skip to content

Commit

Permalink
Upgrade to Ubuntu Jammy 20231004
Browse files Browse the repository at this point in the history
  • Loading branch information
philwebb committed Oct 19, 2023
1 parent b226ff4 commit c7d6fbc
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-20230624 as prepare
FROM ubuntu:jammy-20231004 as prepare
COPY downloads/* /opt/download/
RUN mkdir -p /opt/jdk && \
cd /opt/jdk && \
tar xzf /opt/download/* --strip-components=1

FROM ubuntu:jammy-20230624
FROM ubuntu:jammy-20231004
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-20230624 as prepare
FROM ubuntu:jammy-20231004 as prepare
COPY downloads/* /opt/download/
RUN mkdir -p /opt/jdk && \
cd /opt/jdk && \
tar xzf /opt/download/* --strip-components=1

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

0 comments on commit c7d6fbc

Please sign in to comment.