aboutsummaryrefslogtreecommitdiffstats
path: root/.gitpod.Dockerfile
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-02-27 04:54:36 +0000
committerterminaldweller <thabogre@gmail.com>2021-02-27 04:54:36 +0000
commit6c34f97c7c6d77f393d2059dc88c2e206d15c025 (patch)
tree598fbe031c20aa7c26c680b6968ae88a7bd13bcc /.gitpod.Dockerfile
parentadded a dockerfile for gitpod (diff)
downloadhived-6c34f97c7c6d77f393d2059dc88c2e206d15c025.tar.gz
hived-6c34f97c7c6d77f393d2059dc88c2e206d15c025.zip
gitpod fix
Diffstat (limited to '.gitpod.Dockerfile')
-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"]