mirror of
https://github.com/anyproto/any-sync-dockercompose.git
synced 2025-06-08 05:47:03 +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
|
||||
RUN wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq && \
|
||||
chmod +x /usr/bin/yq && \
|
||||
go install github.com/anyproto/any-sync-tools/anyconf@latest
|
||||
|
||||
FROM golang:1.21.6-alpine3.19 as generator
|
||||
RUN apk add --no-cache bash yq
|
||||
RUN go install github.com/anyproto/any-sync-tools/anyconf@latest
|
||||
WORKDIR /opt/generateconfig
|
||||
COPY --chmod=777 docker-generateconfig/generate_config.sh .env .
|
||||
RUN ./generate_config.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue