File tree 2 files changed +14
-8
lines changed
2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,9 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
10
10
LABEL maintainer="thespad"
11
11
12
12
# environment settings
13
- ARG UNIFI_BRANCH="stable" \
14
- DEBIAN_FRONTEND="noninteractive"
13
+ ARG UNIFI_BRANCH="stable"
14
+ ARG DEBIAN_FRONTEND="noninteractive"
15
+ ARG ENVSUBST_VERSION=v1.4.2
15
16
16
17
RUN \
17
18
echo "**** install packages ****" && \
20
21
jsvc \
21
22
logrotate \
22
23
openjdk-17-jre-headless \
23
- unzip \
24
- gettext && \
24
+ unzip && \
25
+ curl -L https://github.com/a8m/envsubst/releases/download/${ENVSUBST_VERSION}/envsubst-`uname -s`-`uname -m` -o envsubst && \
26
+ chmod +x envsubst && \
27
+ mv envsubst /usr/local/bin && \
25
28
echo "**** install unifi ****" && \
26
29
if [ -z ${UNIFI_VERSION+x} ]; then \
27
30
UNIFI_VERSION=$(curl -sX GET http://dl.ui.com/unifi/debian/dists/${UNIFI_BRANCH}/ubiquiti/binary-amd64/Packages \
Original file line number Diff line number Diff line change @@ -10,8 +10,9 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
10
10
LABEL maintainer="thespad"
11
11
12
12
# environment settings
13
- ARG UNIFI_BRANCH="stable" \
14
- DEBIAN_FRONTEND="noninteractive"
13
+ ARG UNIFI_BRANCH="stable"
14
+ ARG DEBIAN_FRONTEND="noninteractive"
15
+ ARG ENVSUBST_VERSION=v1.4.2
15
16
16
17
RUN \
17
18
echo "**** install packages ****" && \
20
21
jsvc \
21
22
logrotate \
22
23
openjdk-17-jre-headless \
23
- unzip \
24
- gettext && \
24
+ unzip && \
25
+ curl -L https://github.com/a8m/envsubst/releases/download/${ENVSUBST_VERSION}/envsubst-`uname -s`-`uname -m` -o envsubst && \
26
+ chmod +x envsubst && \
27
+ mv envsubst /usr/local/bin && \
25
28
echo "**** install unifi ****" && \
26
29
if [ -z ${UNIFI_VERSION+x} ]; then \
27
30
UNIFI_VERSION=$(curl -sX GET http://dl.ui.com/unifi/debian/dists/${UNIFI_BRANCH}/ubiquiti/binary-amd64/Packages \
You can’t perform that action at this time.
0 commit comments