File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ LABEL maintainer="thespad"
1212# environment settings
1313ARG UNIFI_BRANCH="stable"
1414ENV DEBIAN_FRONTEND="noninteractive"
15+ ENV ENVSUBST_VERSION=v1.4.3
1516
1617RUN \
1718 echo "**** install packages ****" && \
2223 openjdk-17-jre-headless \
2324 unzip \
2425 gettext && \
26+ curl -L https://github.com/a8m/envsubst/releases/download/${ENVSUBST_VERSION}/envsubst-`uname -s`-`uname -m` -o envsubst && \
27+ chmod +x envsubst && \
28+ mv envsubst /usr/local/bin && \
2529 echo "**** install unifi ****" && \
2630 if [ -z ${UNIFI_VERSION+x} ]; then \
2731 UNIFI_VERSION=$(curl -sX GET https://dl.ui.com/unifi/debian/dists/${UNIFI_BRANCH}/ubiquiti/binary-amd64/Packages.gz \
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ LABEL maintainer="thespad"
1212# environment settings
1313ARG UNIFI_BRANCH="stable"
1414ENV DEBIAN_FRONTEND="noninteractive"
15+ ENV ENVSUBST_VERSION=v1.4.3
1516
1617RUN \
1718 echo "**** install packages ****" && \
2223 openjdk-17-jre-headless \
2324 unzip \
2425 gettext && \
26+ curl -L https://github.com/a8m/envsubst/releases/download/${ENVSUBST_VERSION}/envsubst-`uname -s`-`uname -m` -o envsubst && \
27+ chmod +x envsubst && \
28+ mv envsubst /usr/local/bin && \
2529 echo "**** install unifi ****" && \
2630 if [ -z ${UNIFI_VERSION+x} ]; then \
2731 UNIFI_VERSION=$(curl -sX GET https://dl.ui.com/unifi/debian/dists/${UNIFI_BRANCH}/ubiquiti/binary-amd64/Packages.gz \
You can’t perform that action at this time.
0 commit comments