Initial commit
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM registry.hub.docker.com/library/golang:1.13.6-buster AS BUILD
|
||||
|
||||
ADD . /app
|
||||
|
||||
RUN set -o errexit; \
|
||||
cd /app || exit 1; \
|
||||
go build
|
||||
|
||||
FROM registry.hub.docker.com/library/golang:1.13.6-buster
|
||||
|
||||
COPY --from=BUILD /app/gitea-resource /usr/local/bin/gitea-resource
|
Reference in New Issue
Block a user