syncthingcsi/Dockerfile
dave be87ff8342
All checks were successful
Gitea/syncthingcsi/pipeline/head This commit looks good
integrate introducer
2024-08-02 13:33:50 -07:00

15 lines
239 B
Docker

FROM dockermirror:5000/dpedu/gobuild-1.22 as build
ADD . /code
RUN cd /code && \
go mod download -x && \
go build -o ./ ./cmd/...
FROM alpine
COPY --from=build /code/syncthing-csi /syncthing-csi
ENTRYPOINT ["/syncthing-csi"]