From 05d62ad4d341be057ed72bfd0b308de8f492efa8 Mon Sep 17 00:00:00 2001 From: Bill Date: Tue, 6 Apr 2021 23:39:44 -0400 Subject: Migrate to Java Gemini Server --- capsule/Dockerfile | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'capsule/Dockerfile') diff --git a/capsule/Dockerfile b/capsule/Dockerfile index 945c93e..a55ae98 100644 --- a/capsule/Dockerfile +++ b/capsule/Dockerfile @@ -1,16 +1,17 @@ -FROM debian:stable-slim - -RUN apt-get update && apt-get install -y golang git -RUN mkdir /opt/go -ENV GOPATH=/opt/go -RUN go get github.com/BurntSushi/toml -RUN go get tildegit.org/solderpunk/molly-brown +FROM openjdk:11 +RUN mkdir /opt/jgs/ +WORKDIR /opt/jgs/ EXPOSE 1965 + VOLUME /etc/certs -VOLUME /var/log/molly +VOLUME /var/log/jgs VOLUME /var/gemini -COPY molly.conf /etc/molly.conf +COPY docker-entrypoint.sh ./ +COPY server.jar ./ +COPY logback.xml ./ +COPY lib ./lib +COPY gemini-server.conf ./ -ENTRYPOINT /opt/go/bin/molly-brown +ENTRYPOINT /opt/jgs/docker-entrypoint.sh -- cgit v1.2.3-54-g00ecf