Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-09-24 13:07:26 -04:00
parent b3af1c0450
commit 401d655d2b
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
2 changed files with 27 additions and 0 deletions

View File

@ -114,6 +114,7 @@ keepassxreboot/keepassxc
robertdavidgraham/masscan robertdavidgraham/masscan
MidnightCommander/mc MidnightCommander/mc
zyedidia/micro zyedidia/micro
zeit/now-cli
nzbget/nzbget nzbget/nzbget
bitly/oauth2_proxy bitly/oauth2_proxy
facebook/osquery facebook/osquery

26
now/Dockerfile Normal file
View File

@ -0,0 +1,26 @@
FROM alpine:latest as builder
MAINTAINER Jessica Frazelle <jess@linux.com>
RUN apk add --no-cache \
ca-certificates \
curl \
gzip
ENV NOW_VERSION 11.4.6
RUN curl -sSL -o "/tmp/now.gz" "https://github.com/zeit/now-cli/releases/download/${NOW_VERSION}/now-alpine.gz" \
&& gzip -dv "/tmp/now.gz" \
&& mv /tmp/now /usr/bin/now \
&& chmod +x /usr/bin/now \
&& rm -rf "/tmp/now.gz"
FROM alpine:latest
RUN apk add --no-cache \
libstdc++
COPY --from=builder /usr/bin/now /usr/bin/now
COPY --from=builder /etc/ssl/certs/ /etc/ssl/certs
ENTRYPOINT [ "now" ]
CMD [ "--help" ]