Skip to content

Commit

Permalink
Switch base image to vaticle/typedb (Ubuntu) due to bug on Alpine.
Browse files Browse the repository at this point in the history
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: protocolbuffers/protobuf#4958
  • Loading branch information
ragnorc committed Feb 23, 2022
1 parent d541acf commit 5d1c034
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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"]

0 comments on commit 5d1c034

Please sign in to comment.