This commit is contained in:
Jakob Borg 2023-06-14 09:18:16 +02:00
parent 547eb16b8d
commit e2cd2c06b6

View File

@ -18,7 +18,6 @@ COPY . .
ENV CGO_ENABLED=0 ENV CGO_ENABLED=0
RUN echo syncthing-linux-$TARGETARCH RUN echo syncthing-linux-$TARGETARCH
RUN if [ ! -f syncthing-linux-$TARGETARCH ] ; then \ RUN if [ ! -f syncthing-linux-$TARGETARCH ] ; then \
echo syncthing-linux-$TARGETARCH ; \
go run build.go -no-upgrade build syncthing ; \ go run build.go -no-upgrade build syncthing ; \
mv syncthing syncthing-linux-$TARGETARCH ; \ mv syncthing syncthing-linux-$TARGETARCH ; \
fi fi