-
Notifications
You must be signed in to change notification settings - Fork 422
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Support azulzulu jdk 8. (#442)
* Added Dockerfiles for azulzulu8. --------- Co-authored-by: Phaniteja <[email protected]> Co-authored-by: Carlos Sanchez <[email protected]>
- Loading branch information
1 parent
77c76c5
commit 0f810b1
Showing
5 changed files
with
108 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: azulzulu-8-alpine | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "azulzulu-8-alpine/**" | ||
- .github/workflows/azulzulu-8-alpine.yml | ||
- .github/workflows/_template.yml | ||
- common.sh | ||
- tags-for-dir.sh | ||
- "tests/**" | ||
- "!tests/*.ps*" | ||
- "!tests/*.windows" | ||
pull_request: | ||
paths: | ||
- "azulzulu-8-alpine/**" | ||
- .github/workflows/azulzulu-8-alpine.yml | ||
- .github/workflows/_template.yml | ||
- common.sh | ||
- tags-for-dir.sh | ||
- "tests/**" | ||
- "!tests/*.ps*" | ||
- "!tests/*.windows" | ||
|
||
jobs: | ||
build: | ||
uses: ./.github/workflows/_template.yml | ||
with: | ||
directory: azulzulu-8-alpine | ||
secrets: inherit |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: azulzulu-8 | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "azulzulu-8/**" | ||
- .github/workflows/azulzulu-8.yml | ||
- .github/workflows/_template.yml | ||
- common.sh | ||
- tags-for-dir.sh | ||
- "tests/**" | ||
- "!tests/*.ps*" | ||
- "!tests/*.windows" | ||
pull_request: | ||
paths: | ||
- "azulzulu-8/**" | ||
- .github/workflows/azulzulu-8.yml | ||
- .github/workflows/_template.yml | ||
- common.sh | ||
- tags-for-dir.sh | ||
- "tests/**" | ||
- "!tests/*.ps*" | ||
- "!tests/*.windows" | ||
|
||
jobs: | ||
build: | ||
uses: ./.github/workflows/_template.yml | ||
with: | ||
directory: azulzulu-8 | ||
secrets: inherit |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM azul/zulu-openjdk-alpine:8 | ||
|
||
RUN apk add --no-cache bash procps curl tar | ||
|
||
# common for all images | ||
ENV MAVEN_HOME /usr/share/maven | ||
|
||
COPY --from=maven:3.9.6-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} | ||
COPY --from=maven:3.9.6-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh | ||
COPY --from=maven:3.9.6-eclipse-temurin-11 /usr/share/maven/ref/settings-docker.xml /usr/share/maven/ref/settings-docker.xml | ||
|
||
RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn | ||
|
||
ARG MAVEN_VERSION=3.9.6 | ||
ARG USER_HOME_DIR="/root" | ||
ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" | ||
|
||
ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] | ||
CMD ["mvn"] |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM azul/zulu-openjdk:8 | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y ca-certificates curl --no-install-recommends \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# common for all images | ||
ENV MAVEN_HOME /usr/share/maven | ||
|
||
COPY --from=maven:3.9.6-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME} | ||
COPY --from=maven:3.9.6-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh | ||
COPY --from=maven:3.9.6-eclipse-temurin-11 /usr/share/maven/ref/settings-docker.xml /usr/share/maven/ref/settings-docker.xml | ||
|
||
RUN ln -s ${MAVEN_HOME}/bin/mvn /usr/bin/mvn | ||
|
||
ARG MAVEN_VERSION=3.9.6 | ||
ARG USER_HOME_DIR="/root" | ||
ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2" | ||
|
||
ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"] | ||
CMD ["mvn"] |