server-0.6.1-1
sha256:0e98c29f5ce966713d3fda14d3d98f54174b89a07db1acbc59a20ecbb4d3a183
OS/ARCH
Compressed size
6.96 MB
Last pushed
almost 6 years by doijanky
Type
Image
Vulnerabilities
Manifest digest
sha256:0e98c29f5ce966713d3fda14d3d98f54174b89a07db1acbc59a20ecbb4d3a183
0
ADD file:91fb97ea3549e52e7b6e22b93a6736cf915c756f3d13348406d8ad5f1a872680 in /
2.21 MB
1
CMD ["/bin/sh"]
0 B
2
ENV TAG=v0.6.1
0 B
3
ENV NOTARYPKG=github.com/theupdateframework/notary
0 B
4
ENV INSTALLDIR=/notary/server
0 B
5
EXPOSE 4443
0 B
6
WORKDIR /notary/server
118 B
7
/bin/sh -c set -eux; apk add --no-cache --virtual build-deps git go make musl-dev; go version | grep 'go1.10.7 '; export GOPATH=/go GOCACHE=/go/cache; mkdir -p ${GOPATH}/src/${NOTARYPKG}; git clone -b ${TAG} --depth 1 https://${NOTARYPKG} ${GOPATH}/src/${NOTARYPKG}; make -C ${GOPATH}/src/${NOTARYPKG} PREFIX=. ./bin/static/notary-server; cp -vL ${GOPATH}/src/${NOTARYPKG}/bin/static/notary-server ./; apk del --no-network build-deps; rm -rf ${GOPATH}
5.09 MB
8
COPY file:33643ab6368f7007610a81abd5ef291ec43cbd47a0d1581b29490690dc44f709 in .
416 B
9
COPY file:ad1ab25ac8ceb29f1cdc7363c26c083887d76bdbd37db998baad09873ef0811e in .
377 B
10
/bin/sh -c adduser -D -H -g "" notary
1.19 KB
11
USER notary
0 B
12
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/notary/server
0 B
13
ENTRYPOINT ["entrypoint.sh"]
0 B
14
CMD ["notary-server" "--help"]
0 B