Skip to content

Commit

Permalink
Add docker image for ssl-vision-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
g3force committed Feb 5, 2021
1 parent 62365d2 commit 7f6e27f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions cli.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM golang:1.14-alpine AS build
WORKDIR /go/src/github.com/RoboCup-SSL/ssl-vision-client
COPY cmd cmd
COPY pkg pkg
COPY go.mod go.mod
RUN go get -v -t -d ./...
RUN go install ./...

# Start fresh from a smaller image
FROM alpine:3.9
COPY --from=build /go/bin/ssl-vision-cli /app/ssl-vision-cli
ENTRYPOINT ["/app/ssl-vision-cli"]
CMD []

0 comments on commit 7f6e27f

Please sign in to comment.