1
0
Fork 0
mirror of https://github.com/anyproto/any-sync-dockercompose.git synced 2025-06-08 14:07:02 +09:00

Merge pull request #13 from anyproto/9-deployment-error

Fixed installation of yq-package in Dockerfile-generateconfig
This commit is contained in:
Kirill Shklyaev 2024-01-15 17:36:41 +03:00 committed by GitHub
commit 195891a3a1
Signed by: github
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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