File: Dockerfile

package info (click to toggle)
browserpass 2.0.22-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 568 kB
  • sloc: sh: 128; makefile: 112
file content (15 lines) | stat: -rw-r--r-- 401 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM golang:1.8-alpine3.6

ENV CGO_ENABLED=0 \
    APP_PATH="$GOPATH/src/github.com/dannyvankooten/browserpass"
# New ENV statement as this depends on APP_PATH
ENV PATH="$PATH:$APP_PATH/node_modules/.bin/"

RUN apk add --no-cache bash git make tar yarn zip && \
    go get -u github.com/golang/dep/cmd/dep && \
    mkdir -p $APP_PATH && \
    ln -s $APP_PATH /

WORKDIR $APP_PATH

ENTRYPOINT ["make"]