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"
12
12
# environment settings
13
13
ARG UNIFI_BRANCH="stable"
14
14
ENV DEBIAN_FRONTEND="noninteractive"
15
+ ENV ENVSUBST_VERSION=v1.4.3
15
16
16
17
RUN \
17
18
echo "**** install packages ****" && \
22
23
openjdk-17-jre-headless \
23
24
unzip \
24
25
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 && \
25
29
echo "**** install unifi ****" && \
26
30
if [ -z ${UNIFI_VERSION+x} ]; then \
27
31
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"
12
12
# environment settings
13
13
ARG UNIFI_BRANCH="stable"
14
14
ENV DEBIAN_FRONTEND="noninteractive"
15
+ ENV ENVSUBST_VERSION=v1.4.3
15
16
16
17
RUN \
17
18
echo "**** install packages ****" && \
22
23
openjdk-17-jre-headless \
23
24
unzip \
24
25
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 && \
25
29
echo "**** install unifi ****" && \
26
30
if [ -z ${UNIFI_VERSION+x} ]; then \
27
31
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