-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Dockerfile to use noble basic mirroring and replace the apk co…
…mmand with apt-get
- Loading branch information
Showing
5 changed files
with
21 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ghcr.io/ringcentral-docker/jdk/jdk:11.0.25-alpine | ||
FROM ghcr.io/ringcentral-docker/jdk/jdk:11.0.25-noble | ||
LABEL maintainer="[email protected]" | ||
|
||
ENV MAVEN_VERSION=3.9.9 \ | ||
|
@@ -8,15 +8,15 @@ ENV MAVEN_VERSION=3.9.9 \ | |
#============== | ||
# Install and Setting Maven | ||
#============== | ||
RUN apk update \ | ||
&& apk add --no-cache --virtual=build-dependencies wget \ | ||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends wget \ | ||
&& cd /tmp \ | ||
&& mkdir -p /usr/share/maven \ | ||
&& wget "${MAVEN_BASE_URL}/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.tar.gz" 2>/dev/null \ | ||
&& tar -xzf "apache-maven-${MAVEN_VERSION}-bin.tar.gz" -C /usr/share/maven --strip-components=1 \ | ||
&& ln -s /usr/share/maven/bin/mvn /usr/bin/mvn \ | ||
&& apk del build-dependencies \ | ||
&& rm -rf /tmp/* | ||
&& apt-get purge -y --auto-remove wget \ | ||
&& rm -rf /var/lib/apt/lists/* /tmp/* | ||
|
||
COPY conf/settings.xml /usr/share/maven/conf/settings.xml | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ghcr.io/ringcentral-docker/jdk/jdk:17.0.13-alpine | ||
FROM ghcr.io/ringcentral-docker/jdk/jdk:17.0.13-noble | ||
LABEL maintainer="[email protected]" | ||
|
||
ENV MAVEN_VERSION=3.9.9 \ | ||
|
@@ -8,15 +8,15 @@ ENV MAVEN_VERSION=3.9.9 \ | |
#============== | ||
# Install and Setting Maven | ||
#============== | ||
RUN apk update \ | ||
&& apk add --no-cache --virtual=build-dependencies wget \ | ||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends wget \ | ||
&& cd /tmp \ | ||
&& mkdir -p /usr/share/maven \ | ||
&& wget "${MAVEN_BASE_URL}/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.tar.gz" 2>/dev/null \ | ||
&& tar -xzf "apache-maven-${MAVEN_VERSION}-bin.tar.gz" -C /usr/share/maven --strip-components=1 \ | ||
&& ln -s /usr/share/maven/bin/mvn /usr/bin/mvn \ | ||
&& apk del build-dependencies \ | ||
&& rm -rf /tmp/* | ||
&& apt-get purge -y --auto-remove wget \ | ||
&& rm -rf /var/lib/apt/lists/* /tmp/* | ||
|
||
COPY conf/settings.xml /usr/share/maven/conf/settings.xml | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ghcr.io/ringcentral-docker/jdk/jdk:21.0.5-alpine | ||
FROM ghcr.io/ringcentral-docker/jdk/jdk:21.0.5-noble | ||
LABEL maintainer="[email protected]" | ||
|
||
ENV MAVEN_VERSION=3.9.9 \ | ||
|
@@ -8,15 +8,15 @@ ENV MAVEN_VERSION=3.9.9 \ | |
#============== | ||
# Install and Setting Maven | ||
#============== | ||
RUN apk update \ | ||
&& apk add --no-cache --virtual=build-dependencies wget \ | ||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends wget \ | ||
&& cd /tmp \ | ||
&& mkdir -p /usr/share/maven \ | ||
&& wget "${MAVEN_BASE_URL}/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.tar.gz" 2>/dev/null \ | ||
&& tar -xzf "apache-maven-${MAVEN_VERSION}-bin.tar.gz" -C /usr/share/maven --strip-components=1 \ | ||
&& ln -s /usr/share/maven/bin/mvn /usr/bin/mvn \ | ||
&& apk del build-dependencies \ | ||
&& rm -rf /tmp/* | ||
&& apt-get purge -y --auto-remove wget \ | ||
&& rm -rf /var/lib/apt/lists/* /tmp/* | ||
|
||
COPY conf/settings.xml /usr/share/maven/conf/settings.xml | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ghcr.io/ringcentral-docker/jdk/jdk:8u432-alpine | ||
FROM ghcr.io/ringcentral-docker/jdk/jdk:8u432-noble | ||
LABEL maintainer="[email protected]" | ||
|
||
ENV MAVEN_VERSION=3.8.8 \ | ||
|
@@ -8,15 +8,15 @@ ENV MAVEN_VERSION=3.8.8 \ | |
#============== | ||
# Install and Setting Maven | ||
#============== | ||
RUN apk update \ | ||
&& apk add --no-cache --virtual=build-dependencies wget \ | ||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends wget \ | ||
&& cd /tmp \ | ||
&& mkdir -p /usr/share/maven \ | ||
&& wget "${MAVEN_BASE_URL}/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.tar.gz" 2>/dev/null \ | ||
&& tar -xzf "apache-maven-${MAVEN_VERSION}-bin.tar.gz" -C /usr/share/maven --strip-components=1 \ | ||
&& ln -s /usr/share/maven/bin/mvn /usr/bin/mvn \ | ||
&& apk del build-dependencies \ | ||
&& rm -rf /tmp/* | ||
&& apt-get purge -y --auto-remove wget \ | ||
&& rm -rf /var/lib/apt/lists/* /tmp/* | ||
|
||
COPY conf/settings.xml /usr/share/maven/conf/settings.xml | ||
|
||
|