Skip to content

Commit

Permalink
Install envsubst alternative (Go version)
Browse files Browse the repository at this point in the history
  • Loading branch information
sturman committed Feb 24, 2024
1 parent 1146ec4 commit 62dab7b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
11 changes: 7 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
LABEL maintainer="thespad"

# environment settings
ARG UNIFI_BRANCH="stable" \
DEBIAN_FRONTEND="noninteractive"
ARG UNIFI_BRANCH="stable"
ARG DEBIAN_FRONTEND="noninteractive"
ARG ENVSUBST_VERSION=v1.4.2

RUN \
echo "**** install packages ****" && \
Expand All @@ -20,8 +21,10 @@ RUN \
jsvc \
logrotate \
openjdk-17-jre-headless \
unzip \
gettext && \
unzip && \
curl -L https://github.com/a8m/envsubst/releases/download/${ENVSUBST_VERSION}/envsubst-`uname -s`-`uname -m` -o envsubst && \
chmod +x envsubst && \
mv envsubst /usr/local/bin && \
echo "**** install unifi ****" && \
if [ -z ${UNIFI_VERSION+x} ]; then \
UNIFI_VERSION=$(curl -sX GET http://dl.ui.com/unifi/debian/dists/${UNIFI_BRANCH}/ubiquiti/binary-amd64/Packages \
Expand Down
11 changes: 7 additions & 4 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
LABEL maintainer="thespad"

# environment settings
ARG UNIFI_BRANCH="stable" \
DEBIAN_FRONTEND="noninteractive"
ARG UNIFI_BRANCH="stable"
ARG DEBIAN_FRONTEND="noninteractive"
ARG ENVSUBST_VERSION=v1.4.2

RUN \
echo "**** install packages ****" && \
Expand All @@ -20,8 +21,10 @@ RUN \
jsvc \
logrotate \
openjdk-17-jre-headless \
unzip \
gettext && \
unzip && \
curl -L https://github.com/a8m/envsubst/releases/download/${ENVSUBST_VERSION}/envsubst-`uname -s`-`uname -m` -o envsubst && \
chmod +x envsubst && \
mv envsubst /usr/local/bin && \
echo "**** install unifi ****" && \
if [ -z ${UNIFI_VERSION+x} ]; then \
UNIFI_VERSION=$(curl -sX GET http://dl.ui.com/unifi/debian/dists/${UNIFI_BRANCH}/ubiquiti/binary-amd64/Packages \
Expand Down

0 comments on commit 62dab7b

Please sign in to comment.