Skip to content
This repository is currently being migrated. It's locked while the migration is in progress.

Commit

Permalink
Add Dockerfile go mod vendor (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidMarchant authored Oct 19, 2022
1 parent 8365136 commit 82353e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ FROM golang:1.18
COPY . /go/src/github.com/storageos/go-cli
WORKDIR /go/src/github.com/storageos/go-cli
ARG semantic_version
RUN go mod tidy
RUN go mod vendor
RUN SEMANTIC_VERSION=$semantic_version make build

FROM storageos/base-image:0.2.1
Expand Down

0 comments on commit 82353e2

Please sign in to comment.