aboutsummaryrefslogtreecommitdiffstats
path: root/.gitpod.Dockerfile
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-02-27 04:43:32 +0000
committerterminaldweller <thabogre@gmail.com>2021-02-27 04:43:32 +0000
commitb197fe2e81e129d1c09deecb80c432550b138c28 (patch)
treec6fb1fc35906bbe7bfea4b18bdc25a3811883c0c /.gitpod.Dockerfile
parentgitpod (diff)
downloadhived-b197fe2e81e129d1c09deecb80c432550b138c28.tar.gz
hived-b197fe2e81e129d1c09deecb80c432550b138c28.zip
added a dockerfile for gitpod
Diffstat (limited to '.gitpod.Dockerfile')
-rw-r--r--.gitpod.Dockerfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile
new file mode 100644
index 0000000..60533e8
--- /dev/null
+++ b/.gitpod.Dockerfile
@@ -0,0 +1,11 @@
+FROM gitpod/workspace-full
+
+RUN apt update && apt upgrade -y
+RUN apt install -y 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"]