Skip to content

Commit

Permalink
Add Azul Zulu Debian images
Browse files Browse the repository at this point in the history
  • Loading branch information
anirbanmu committed Jul 30, 2024
1 parent 5dbedd3 commit adfe385
Show file tree
Hide file tree
Showing 9 changed files with 240 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/azulzulu-11-debian.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: azulzulu-11-debian

on:
push:
branches:
- main
paths:
- "azulzulu-11-debian/**"
- .github/workflows/azulzulu-11-debian.yml
- .github/workflows/_template.yml
- common.sh
- tags-for-dir.sh
- "tests/**"
- "!tests/*.ps*"
- "!tests/*.windows"
pull_request:
paths:
- "azulzulu-11-debian/**"
- .github/workflows/azulzulu-11-debian.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-11-debian
secrets: inherit
32 changes: 32 additions & 0 deletions .github/workflows/azulzulu-17-debian.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: azulzulu-17-debian

on:
push:
branches:
- main
paths:
- "azulzulu-17-debian/**"
- .github/workflows/azulzulu-17-debian.yml
- .github/workflows/_template.yml
- common.sh
- tags-for-dir.sh
- "tests/**"
- "!tests/*.ps*"
- "!tests/*.windows"
pull_request:
paths:
- "azulzulu-17-debian/**"
- .github/workflows/azulzulu-17-debian.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-17-debian
secrets: inherit
32 changes: 32 additions & 0 deletions .github/workflows/azulzulu-21-debian.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: azulzulu-21-debian

on:
push:
branches:
- main
paths:
- "azulzulu-21-debian/**"
- .github/workflows/azulzulu-21-debian.yml
- .github/workflows/_template.yml
- common.sh
- tags-for-dir.sh
- "tests/**"
- "!tests/*.ps*"
- "!tests/*.windows"
pull_request:
paths:
- "azulzulu-21-debian/**"
- .github/workflows/azulzulu-21-debian.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-21-debian
secrets: inherit
32 changes: 32 additions & 0 deletions .github/workflows/azulzulu-8-debian.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: azulzulu-8-debian

on:
push:
branches:
- main
paths:
- "azulzulu-8-debian/**"
- .github/workflows/azulzulu-8-debian.yml
- .github/workflows/_template.yml
- common.sh
- tags-for-dir.sh
- "tests/**"
- "!tests/*.ps*"
- "!tests/*.windows"
pull_request:
paths:
- "azulzulu-8-debian/**"
- .github/workflows/azulzulu-8-debian.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-debian
secrets: inherit
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,16 @@ See Docker Hub or GitHub Container Registry for an updated list of tags
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-8-debian](https://github.com/carlossg/docker-maven/blob/main/azulzulu-8-debian/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-11-debian](https://github.com/carlossg/docker-maven/blob/main/azulzulu-11-debian/Dockerfile)
* [azulzulu-17](https://github.com/carlossg/docker-maven/blob/main/azulzulu-17/Dockerfile)
* [azulzulu-17-alpine](https://github.com/carlossg/docker-maven/blob/main/azulzulu-17-alpine/Dockerfile)
* [azulzulu-17-debian](https://github.com/carlossg/docker-maven/blob/main/azulzulu-17-debian/Dockerfile)
* [azulzulu-21](https://github.com/carlossg/docker-maven/blob/main/azulzulu-21/Dockerfile)
* [azulzulu-21-alpine](https://github.com/carlossg/docker-maven/blob/main/azulzulu-21-alpine/Dockerfile)
* [azulzulu-21-debian](https://github.com/carlossg/docker-maven/blob/main/azulzulu-21-debian/Dockerfile)
* [graalvm-community-17](https://github.com/carlossg/docker-maven/blob/main/graalvm-community-17/)
* [graalvm-community-21](https://github.com/carlossg/docker-maven/blob/main/graalvm-community-21/)
* [libericaopenjdk-8-alpine](https://github.com/carlossg/docker-maven/blob/main/libericaopenjdk-8-alpine/Dockerfile)
Expand Down Expand Up @@ -229,12 +233,16 @@ Some come from the parent images and some are installed in this image for backwa
| amazoncorretto-21-debian | | | ✔︎ | ✔︎ | ✔︎ | ✔︎ | | | ✔︎ |
| azulzulu-8 | | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | | ✔︎ |
| azulzulu-8-alpine | | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | | ✔︎ |
| azulzulu-8-debian | | | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | | ✔︎ |
| azulzulu-11 | | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | | ✔︎ |
| azulzulu-11-alpine | | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | | ✔︎ |
| azulzulu-11-debian | | | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | | ✔︎ |
| azulzulu-17 | | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | | ✔︎ |
| azulzulu-17-alpine | | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | | ✔︎ |
| azulzulu-17-debian | | | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | | ✔︎ |
| azulzulu-21 | | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | | ✔︎ |
| azulzulu-21-alpine | | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | | ✔︎ |
| azulzulu-21-debian | | | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | | ✔︎ |
| eclipse-temurin-8 | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | | ✔︎ |
| eclipse-temurin-8-alpine | | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | | ✔︎ |
| eclipse-temurin-8-focal | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | ✔︎ | | ✔︎ |
Expand Down
26 changes: 26 additions & 0 deletions azulzulu-11-debian/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
FROM azul/zulu-openjdk-debian:11

RUN apt-get update \
&& apt-get install -y --no-install-recommends openssh-client procps \
&& rm -rf /var/lib/apt/lists/*

# common for all images
LABEL org.opencontainers.image.title="Apache Maven"
LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven
LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven
LABEL org.opencontainers.image.description="Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information."

ENV MAVEN_HOME=/usr/share/maven

COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME}
COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh
COPY --from=maven:3.9.8-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.8
ARG USER_HOME_DIR="/root"
ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2"

ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"]
CMD ["mvn"]
26 changes: 26 additions & 0 deletions azulzulu-17-debian/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
FROM azul/zulu-openjdk-debian:17

RUN apt-get update \
&& apt-get install -y --no-install-recommends openssh-client procps \
&& rm -rf /var/lib/apt/lists/*

# common for all images
LABEL org.opencontainers.image.title="Apache Maven"
LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven
LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven
LABEL org.opencontainers.image.description="Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information."

ENV MAVEN_HOME=/usr/share/maven

COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME}
COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh
COPY --from=maven:3.9.8-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.8
ARG USER_HOME_DIR="/root"
ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2"

ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"]
CMD ["mvn"]
26 changes: 26 additions & 0 deletions azulzulu-21-debian/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
FROM azul/zulu-openjdk-debian:21

RUN apt-get update \
&& apt-get install -y --no-install-recommends openssh-client procps \
&& rm -rf /var/lib/apt/lists/*

# common for all images
LABEL org.opencontainers.image.title="Apache Maven"
LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven
LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven
LABEL org.opencontainers.image.description="Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information."

ENV MAVEN_HOME=/usr/share/maven

COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME}
COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh
COPY --from=maven:3.9.8-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.8
ARG USER_HOME_DIR="/root"
ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2"

ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"]
CMD ["mvn"]
26 changes: 26 additions & 0 deletions azulzulu-8-debian/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
FROM azul/zulu-openjdk-debian:8

RUN apt-get update \
&& apt-get install -y --no-install-recommends openssh-client procps \
&& rm -rf /var/lib/apt/lists/*

# common for all images
LABEL org.opencontainers.image.title="Apache Maven"
LABEL org.opencontainers.image.source=https://github.com/carlossg/docker-maven
LABEL org.opencontainers.image.url=https://github.com/carlossg/docker-maven
LABEL org.opencontainers.image.description="Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information."

ENV MAVEN_HOME=/usr/share/maven

COPY --from=maven:3.9.8-eclipse-temurin-11 ${MAVEN_HOME} ${MAVEN_HOME}
COPY --from=maven:3.9.8-eclipse-temurin-11 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh
COPY --from=maven:3.9.8-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.8
ARG USER_HOME_DIR="/root"
ENV MAVEN_CONFIG="$USER_HOME_DIR/.m2"

ENTRYPOINT ["/usr/local/bin/mvn-entrypoint.sh"]
CMD ["mvn"]

0 comments on commit adfe385

Please sign in to comment.