diff options
author | terminaldweller <thabogre@gmail.com> | 2021-02-27 04:54:36 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2021-02-27 04:54:36 +0000 |
commit | 6c34f97c7c6d77f393d2059dc88c2e206d15c025 (patch) | |
tree | 598fbe031c20aa7c26c680b6968ae88a7bd13bcc /.gitpod.Dockerfile | |
parent | added a dockerfile for gitpod (diff) | |
download | hived-6c34f97c7c6d77f393d2059dc88c2e206d15c025.tar.gz hived-6c34f97c7c6d77f393d2059dc88c2e206d15c025.zip |
gitpod fix
Diffstat (limited to '.gitpod.Dockerfile')
-rw-r--r-- | .gitpod.Dockerfile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile index 60533e8..1810344 100644 --- a/.gitpod.Dockerfile +++ b/.gitpod.Dockerfile @@ -1,11 +1,10 @@ -FROM gitpod/workspace-full +FROM alpine:3.13 as builder -RUN apt update && apt upgrade -y -RUN apt install -y go git +RUN apk update && apk upgrade +RUN apk add go git COPY go.* /hived/ RUN cd /hived && go mod download COPY *.go /hived/ RUN cd /hived && go build - COPY ./docker-entrypoint.sh /hived/ -ENTRYPOINT ["/hived/docker-entrypoint.sh"] +# ENTRYPOINT ["/hived/docker-entrypoint.sh"] |