Skip to content

Commit

Permalink
Fix Alpine ENV syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
lutkerd committed Oct 7, 2024
1 parent 7973d34 commit 5e7922f
Show file tree
Hide file tree
Showing 29 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion 11/jdk/alpine/3.17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-11-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm
ENV PATH=$PATH:/usr/lib/jvm/default-jvm/bin
2 changes: 1 addition & 1 deletion 11/jdk/alpine/3.18/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-11-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm
ENV PATH=$PATH:/usr/lib/jvm/default-jvm/bin
2 changes: 1 addition & 1 deletion 11/jdk/alpine/3.19/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-11-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm
ENV PATH=$PATH:/usr/lib/jvm/default-jvm/bin
2 changes: 1 addition & 1 deletion 11/jdk/alpine/3.20/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-11-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm
ENV PATH=$PATH:/usr/lib/jvm/default-jvm/bin
2 changes: 1 addition & 1 deletion 17/jdk/alpine/3.17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-17-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm
ENV PATH=$PATH:/usr/lib/jvm/default-jvm/bin
2 changes: 1 addition & 1 deletion 17/jdk/alpine/3.18/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-17-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm
ENV PATH=$PATH:/usr/lib/jvm/default-jvm/bin
2 changes: 1 addition & 1 deletion 17/jdk/alpine/3.19/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-17-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm
ENV PATH=$PATH:/usr/lib/jvm/default-jvm/bin
2 changes: 1 addition & 1 deletion 17/jdk/alpine/3.20/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-17-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm
ENV PATH=$PATH:/usr/lib/jvm/default-jvm/bin
2 changes: 1 addition & 1 deletion 21/jdk/alpine/3.17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-21-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm
ENV PATH=$PATH:/usr/lib/jvm/default-jvm/bin
2 changes: 1 addition & 1 deletion 21/jdk/alpine/3.18/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-21-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm
ENV PATH=$PATH:/usr/lib/jvm/default-jvm/bin
2 changes: 1 addition & 1 deletion 21/jdk/alpine/3.19/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-21-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm
ENV PATH=$PATH:/usr/lib/jvm/default-jvm/bin
2 changes: 1 addition & 1 deletion 21/jdk/alpine/3.20/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-21-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm
ENV PATH=$PATH:/usr/lib/jvm/default-jvm/bin
2 changes: 1 addition & 1 deletion 22/jdk/alpine/3.17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-22-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm
ENV PATH=$PATH:/usr/lib/jvm/default-jvm/bin
2 changes: 1 addition & 1 deletion 22/jdk/alpine/3.18/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-22-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm
ENV PATH=$PATH:/usr/lib/jvm/default-jvm/bin
2 changes: 1 addition & 1 deletion 22/jdk/alpine/3.19/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-22-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm
ENV PATH=$PATH:/usr/lib/jvm/default-jvm/bin
2 changes: 1 addition & 1 deletion 22/jdk/alpine/3.20/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-22-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm
ENV PATH=$PATH:/usr/lib/jvm/default-jvm/bin
2 changes: 1 addition & 1 deletion 23/jdk/alpine/3.17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-23-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm
ENV PATH=$PATH:/usr/lib/jvm/default-jvm/bin
2 changes: 1 addition & 1 deletion 23/jdk/alpine/3.18/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-23-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm
ENV PATH=$PATH:/usr/lib/jvm/default-jvm/bin
2 changes: 1 addition & 1 deletion 23/jdk/alpine/3.19/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-23-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm
ENV PATH=$PATH:/usr/lib/jvm/default-jvm/bin
2 changes: 1 addition & 1 deletion 23/jdk/alpine/3.20/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-23-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm
ENV PATH=$PATH:/usr/lib/jvm/default-jvm/bin
2 changes: 1 addition & 1 deletion 8/jdk/alpine/3.17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-8-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm
ENV PATH=$PATH:/usr/lib/jvm/default-jvm/bin
2 changes: 1 addition & 1 deletion 8/jdk/alpine/3.18/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-8-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm
ENV PATH=$PATH:/usr/lib/jvm/default-jvm/bin
2 changes: 1 addition & 1 deletion 8/jdk/alpine/3.19/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-8-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm
ENV PATH=$PATH:/usr/lib/jvm/default-jvm/bin
2 changes: 1 addition & 1 deletion 8/jdk/alpine/3.20/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-8-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm
ENV PATH=$PATH:/usr/lib/jvm/default-jvm/bin
2 changes: 1 addition & 1 deletion 8/jre/alpine/3.17/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-8-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm/jre
2 changes: 1 addition & 1 deletion 8/jre/alpine/3.18/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-8-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm/jre
2 changes: 1 addition & 1 deletion 8/jre/alpine/3.19/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-8-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm/jre
2 changes: 1 addition & 1 deletion 8/jre/alpine/3.20/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-8-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8

ENV JAVA_HOME=/usr/lib/jvm/default-jvm/jre
2 changes: 1 addition & 1 deletion templates/alpine.Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN wget -O /THIRD-PARTY-LICENSES-20200824.tar.gz https://corretto.aws/downloads
rm -rf /usr/lib/jvm/java-{{MAJOR_VERSION}}-amazon-corretto/lib/src.zip


ENV LANG C.UTF-8
ENV LANG=C.UTF-8
{%if jre %}
ENV JAVA_HOME=/usr/lib/jvm/default-jvm/jre
{% else %}
Expand Down

0 comments on commit 5e7922f

Please sign in to comment.