Skip to content

Commit

Permalink
fix Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
erkexzcx committed Oct 8, 2023
1 parent 6a96281 commit 0359bf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG TARGETOS
ARG TARGETARCH
ARG TARGETVARIANT
ARG version
RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GOARM=${TARGETVARIANT#v} go build -a -ldflags "-w -s -X main.version=$version" -o suntek2telegram ./cmd/ftpcam/main.go
RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH GOARM=${TARGETVARIANT#v} go build -a -ldflags "-w -s -X main.version=$version" -o suntek2telegram ./cmd/suntek2telegram/main.go

FROM scratch
COPY --from=builder /etc/ssl/cert.pem /etc/ssl/
Expand Down

0 comments on commit 0359bf7

Please sign in to comment.