aboutsummaryrefslogtreecommitdiffstats
path: root/.gitpod.Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.gitpod.Dockerfile9
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"]