Contains the Concourse pipeline definition for building a line-server container
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
469 B

  1. FROM golang:alpine
  2. RUN set -ex \
  3. && apk add --no-cache --virtual .build-deps git \
  4. && go get github.com/andreimarcu/linx-server \
  5. && apk del .build-deps
  6. RUN mkdir -p /data/files && mkdir -p /data/meta && chown -R 65534:65534 /data
  7. VOLUME ["/data/files", "/data/meta"]
  8. EXPOSE 8080
  9. USER nobody
  10. ENTRYPOINT ["/go/bin/linx-server", "-bind=0.0.0.0:8080", "-filespath=/data/files/", "-metapath=/data/meta/"]
  11. CMD ["-sitename=linx", "-allowhotlink"]