mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-01-30 17:13:46 +01:00
cleanup now
Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>
This commit is contained in:
parent
dce21757df
commit
aa667a3a56
|
@ -49,8 +49,6 @@ get_latest() {
|
|||
dir="zookeeper/3.5"
|
||||
elif [[ "$dir" == "oauth2_proxy" ]]; then
|
||||
dir="oauth2-proxy"
|
||||
elif [[ "$dir" == "now-cli" ]]; then
|
||||
dir="now"
|
||||
elif [[ "$dir" == "wireguard" ]]; then
|
||||
dir="wireguard/install"
|
||||
fi
|
||||
|
@ -123,7 +121,6 @@ MidnightCommander/mc
|
|||
zyedidia/micro
|
||||
mitmproxy/mitmproxy
|
||||
hashicorp/nomad
|
||||
zeit/now-cli
|
||||
nzbget/nzbget
|
||||
pusher/oauth2_proxy
|
||||
facebook/osquery
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
FROM alpine:latest as builder
|
||||
MAINTAINER Jessica Frazelle <jess@linux.com>
|
||||
|
||||
RUN apk add --no-cache \
|
||||
ca-certificates \
|
||||
curl \
|
||||
gzip
|
||||
|
||||
ENV NOW_VERSION 15.8.7
|
||||
|
||||
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" ]
|
Loading…
Reference in New Issue
Block a user