From 5d1c0349a440e3de6c7f00ab1eb8c6e6519e7681 Mon Sep 17 00:00:00 2001 From: Ragnor Comerford Date: Wed, 23 Feb 2022 13:55:52 +0100 Subject: [PATCH] Switch base image to vaticle/typedb (Ubuntu) due to bug on Alpine. On Alpine, TypeDB Studio causes the following error: terminate called after throwing an instance of 'std::system_error' what(): No error information Issue likely due to a bug in gcc. See: https://github.com/protocolbuffers/protobuf/issues/4958 --- Dockerfile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index cd189ef..09cab58 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,14 @@ -FROM alpine:latest -RUN apk add --no-cache \ +FROM vaticle/typedb:latest +RUN apt-get update && apt-get install -y \ wget \ - openjdk11 \ bash \ nano \ - supervisor \ ca-certificates \ iptables \ - gcompat \ curl \ tmux +WORKDIR / RUN curl -L --insecure https://github.com/odise/go-cron/releases/download/v0.0.7/go-cron-linux.gz | zcat > /usr/local/bin/go-cron && chmod u+x /usr/local/bin/go-cron RUN curl -L --insecure https://github.com/DarthSim/overmind/releases/download/v2.2.2/overmind-v2.2.2-linux-amd64.gz | zcat > /usr/local/bin/overmind && chmod u+x /usr/local/bin/overmind @@ -21,5 +19,4 @@ RUN wget -O tdb https://github.com/vaticle/typedb/releases/download/2.6.4/typedb EXPOSE 1729 ADD Procfile /Procfile ADD backup.sh /backup.sh - CMD ["overmind", "start"]