Skip to content

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kevwan committed Mar 16, 2022
1 parent 5ef1496 commit e6cee8e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 33 deletions.
3 changes: 1 addition & 2 deletions stash/Dockerfile.amd64 → stash/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ FROM golang:alpine AS builder
LABEL stage=gobuilder

ENV CGO_ENABLED 0
ENV GOOS linux
ENV GOPROXY https://goproxy.cn,direct

RUN apk update --no-cache && apk add --no-cache tzdata
Expand All @@ -15,7 +14,7 @@ ADD go.sum .
RUN go mod download
COPY . .
COPY stash/etc /app/etc
RUN GOARCH=amd64 go build -ldflags="-s -w" -o /app/stash stash/stash.go
RUN go build -ldflags="-s -w" -o /app/stash stash/stash.go


FROM scratch
Expand Down
31 changes: 0 additions & 31 deletions stash/Dockerfile.arm64

This file was deleted.

0 comments on commit e6cee8e

Please sign in to comment.