mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
Build envsubst from go source instead of downloading outdated bin
This commit is contained in:
parent
6aa9447756
commit
56f33aedde
1 changed files with 8 additions and 1 deletions
|
@ -75,7 +75,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…
Add table
Add a link
Reference in a new issue