Dockerfile 335 B

1234567891011121314
  1. FROM golang
  2. RUN \
  3. apt-get update -y && \
  4. apt-get install -y libraptor2-dev libmagic-dev && \
  5. rm -rf /var/lib/apt/lists/* && \
  6. go get -u -x github.com/linkeddata/gold/server
  7. EXPOSE 443
  8. EXPOSE 80
  9. VOLUME ["/data"]
  10. ENV TMPDIR="/tmp"
  11. CMD ["server", "-https=:443", "-http=:80", "-root=/data/", "-boltPath=/tmp/bolt.db", "-debug"]