-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add Dockerfiles for alpine-based images * feat: amazon corretto alpine --------- Co-authored-by: Patrick Evans <[email protected]> Co-authored-by: Carlos Sanchez <[email protected]>
- Loading branch information
1 parent
1a9e1b5
commit 8db2ffe
Showing
12 changed files
with
292 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: amazoncorretto-11-alpine | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "amazoncorretto-11-alpine/**" | ||
- .github/workflows/amazoncorretto-11-alpine.yml | ||
- .github/workflows/_template.yml | ||
- common.sh | ||
- tags-for-dir.sh | ||
- "tests/**" | ||
- "!tests/*.ps*" | ||
- "!tests/*.windows" | ||
pull_request: | ||
paths: | ||
- "amazoncorretto-11-alpine/**" | ||
- .github/workflows/amazoncorretto-11-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: amazoncorretto-11-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: amazoncorretto-17-alpine | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "amazoncorretto-17-alpine/**" | ||
- .github/workflows/amazoncorretto-17-alpine.yml | ||
- .github/workflows/_template.yml | ||
- common.sh | ||
- tags-for-dir.sh | ||
- "tests/**" | ||
- "!tests/*.ps*" | ||
- "!tests/*.windows" | ||
pull_request: | ||
paths: | ||
- "amazoncorretto-17-alpine/**" | ||
- .github/workflows/amazoncorretto-17-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: amazoncorretto-17-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: amazoncorretto-21-alpine | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "amazoncorretto-21-alpine/**" | ||
- .github/workflows/amazoncorretto-21-alpine.yml | ||
- .github/workflows/_template.yml | ||
- common.sh | ||
- tags-for-dir.sh | ||
- "tests/**" | ||
- "!tests/*.ps*" | ||
- "!tests/*.windows" | ||
pull_request: | ||
paths: | ||
- "amazoncorretto-21-alpine/**" | ||
- .github/workflows/amazoncorretto-21-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: amazoncorretto-21-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: amazoncorretto-23-alpine | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "amazoncorretto-23-alpine/**" | ||
- .github/workflows/amazoncorretto-23-alpine.yml | ||
- .github/workflows/_template.yml | ||
- common.sh | ||
- tags-for-dir.sh | ||
- "tests/**" | ||
- "!tests/*.ps*" | ||
- "!tests/*.windows" | ||
pull_request: | ||
paths: | ||
- "amazoncorretto-23-alpine/**" | ||
- .github/workflows/amazoncorretto-23-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: amazoncorretto-23-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: amazoncorretto-8-alpine | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "amazoncorretto-8-alpine/**" | ||
- .github/workflows/amazoncorretto-8-alpine.yml | ||
- .github/workflows/_template.yml | ||
- common.sh | ||
- tags-for-dir.sh | ||
- "tests/**" | ||
- "!tests/*.ps*" | ||
- "!tests/*.windows" | ||
pull_request: | ||
paths: | ||
- "amazoncorretto-8-alpine/**" | ||
- .github/workflows/amazoncorretto-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: amazoncorretto-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
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,24 @@ | ||
FROM amazoncorretto:11-alpine | ||
|
||
RUN apk add --no-cache bash openssh-client | ||
|
||
# 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.9-eclipse-temurin-17 ${MAVEN_HOME} ${MAVEN_HOME} | ||
COPY --from=maven:3.9.9-eclipse-temurin-17 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh | ||
COPY --from=maven:3.9.9-eclipse-temurin-17 /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.9 | ||
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,24 @@ | ||
FROM amazoncorretto:17-alpine | ||
|
||
RUN apk add --no-cache bash openssh-client | ||
|
||
# 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.9-eclipse-temurin-17 ${MAVEN_HOME} ${MAVEN_HOME} | ||
COPY --from=maven:3.9.9-eclipse-temurin-17 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh | ||
COPY --from=maven:3.9.9-eclipse-temurin-17 /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.9 | ||
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,24 @@ | ||
FROM amazoncorretto:21-alpine | ||
|
||
RUN apk add --no-cache bash openssh-client | ||
|
||
# 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.9-eclipse-temurin-17 ${MAVEN_HOME} ${MAVEN_HOME} | ||
COPY --from=maven:3.9.9-eclipse-temurin-17 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh | ||
COPY --from=maven:3.9.9-eclipse-temurin-17 /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.9 | ||
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,24 @@ | ||
FROM amazoncorretto:23-alpine | ||
|
||
RUN apk add --no-cache bash openssh-client | ||
|
||
# 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.9-eclipse-temurin-17 ${MAVEN_HOME} ${MAVEN_HOME} | ||
COPY --from=maven:3.9.9-eclipse-temurin-17 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh | ||
COPY --from=maven:3.9.9-eclipse-temurin-17 /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.9 | ||
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,24 @@ | ||
FROM amazoncorretto:8-alpine | ||
|
||
RUN apk add --no-cache bash openssh-client | ||
|
||
# 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.9-eclipse-temurin-17 ${MAVEN_HOME} ${MAVEN_HOME} | ||
COPY --from=maven:3.9.9-eclipse-temurin-17 /usr/local/bin/mvn-entrypoint.sh /usr/local/bin/mvn-entrypoint.sh | ||
COPY --from=maven:3.9.9-eclipse-temurin-17 /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.9 | ||
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