mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-22 17:11:07 +00:00
Build envsubst from go source instead of downloading outdated bin
This commit is contained in:
parent
61a7670840
commit
ad8ab2c736
1 changed files with 8 additions and 1 deletions
|
@ -77,7 +77,14 @@ RUN mkdir -p /tmp/blackfire \
|
||||||
|
|
||||||
RUN npm install -g yarn
|
RUN npm install -g yarn
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y gettext-base
|
# RUN curl -L -o /usr/local/bin/envsubst https://github.com/a8m/envsubst/releases/download/v1.1.0/envsubst-`uname -s`-`uname -m`; \
|
||||||
|
# chmod +x /usr/local/bin/envsubst
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get install -y golang
|
||||||
|
|
||||||
|
RUN go install github.com/a8m/envsubst/cmd/envsubst@v1.1.0 \
|
||||||
|
&& mv -v $HOME/go/bin/envsubst /usr/local/bin/envsubst \
|
||||||
|
&& chmod +x /usr/local/bin/envsubst
|
||||||
|
|
||||||
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
|
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue