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.

13 lines
390 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. VOLUME ["/data/files", "/data/meta"]
  7. EXPOSE 8080
  8. USER nobody
  9. ENTRYPOINT ["/go/bin/linx-server", "-bind=0.0.0.0:8080", "-filespath=/data/files/", "-metapath=/data/meta/"]
  10. CMD ["-sitename=linx", "-allowhotlink"]