Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support azulzulu jdk 8. #442

Merged
merged 5 commits into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/azulzulu-8-alpine.yml
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
32 changes: 32 additions & 0 deletions .github/workflows/azulzulu-8.yml
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
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ See Docker Hub or GitHub Container Registry for an updated list of tags
* [sapmachine-21](https://github.com/carlossg/docker-maven/blob/main/sapmachine-21/)

Only under `csanchez/maven` and `ghcr.io/carlossg/maven`:

* [azulzulu-8](https://github.com/carlossg/docker-maven/blob/main/azulzulu-8/Dockerfile)
* [azulzulu-8-alpine](https://github.com/carlossg/docker-maven/blob/main/azulzulu-8-alpine/Dockerfile)
* [azulzulu-11](https://github.com/carlossg/docker-maven/blob/main/azulzulu-11/Dockerfile)
* [azulzulu-11-alpine](https://github.com/carlossg/docker-maven/blob/main/azulzulu-11-alpine/Dockerfile)
* [azulzulu-17](https://github.com/carlossg/docker-maven/blob/main/azulzulu-17/Dockerfile)
Expand Down Expand Up @@ -213,6 +214,8 @@ Some come from the parent images and some are installed in this image for backwa
| amazoncorretto-21 | | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | |
| amazoncorretto-21-al2023 | | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | ✔️ | |
| amazoncorretto-21-debian | | | ✔️ | ✔️ | ✔️ | ✔️ | | | |
| azulzulu-8 | | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
| azulzulu-8-alpine | | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
| azulzulu-11 | | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
| azulzulu-11-alpine | | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
| azulzulu-17 | | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
Expand Down
19 changes: 19 additions & 0 deletions azulzulu-8-alpine/Dockerfile
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"]
21 changes: 21 additions & 0 deletions azulzulu-8/Dockerfile
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"]
Loading