Skip to content

Commit

Permalink
Revert "Install envsubst alternative (Go version)"
Browse files Browse the repository at this point in the history
This reverts commit 62dab7b
  • Loading branch information
sturman committed Feb 24, 2024
1 parent 3be04fb commit 36abd4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ LABEL maintainer="thespad"
# environment settings
ARG UNIFI_BRANCH="stable"
ENV DEBIAN_FRONTEND="noninteractive"
ARG ENVSUBST_VERSION=v1.4.2

RUN \
echo "**** install packages ****" && \
Expand All @@ -21,10 +20,8 @@ RUN \
jsvc \
logrotate \
openjdk-17-jre-headless \
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 && \
unzip \
gettext && \
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
7 changes: 2 additions & 5 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ LABEL maintainer="thespad"
# environment settings
ARG UNIFI_BRANCH="stable"
ENV DEBIAN_FRONTEND="noninteractive"
ARG ENVSUBST_VERSION=v1.4.2

RUN \
echo "**** install packages ****" && \
Expand All @@ -21,10 +20,8 @@ RUN \
jsvc \
logrotate \
openjdk-17-jre-headless \
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 && \
unzip \
gettext && \
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 36abd4e

Please sign in to comment.