mirror of
https://github.com/anyproto/any-sync-dockercompose.git
synced 2025-06-08 14:07:02 +09:00
Fixed installation of yq-package in Dockerfile-generateconfig
This commit is contained in:
parent
84b6ecc29e
commit
37aa8c8702
1 changed files with 3 additions and 5 deletions
|
@ -1,8 +1,6 @@
|
||||||
FROM golang:1.19 as generator
|
FROM golang:1.21.6-alpine3.19 as generator
|
||||||
RUN wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq && \
|
RUN apk add --no-cache bash yq
|
||||||
chmod +x /usr/bin/yq && \
|
RUN go install github.com/anyproto/any-sync-tools/anyconf@latest
|
||||||
go install github.com/anyproto/any-sync-tools/anyconf@latest
|
|
||||||
|
|
||||||
WORKDIR /opt/generateconfig
|
WORKDIR /opt/generateconfig
|
||||||
COPY --chmod=777 docker-generateconfig/generate_config.sh .env .
|
COPY --chmod=777 docker-generateconfig/generate_config.sh .env .
|
||||||
RUN ./generate_config.sh
|
RUN ./generate_config.sh
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue