mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-03-25 14:45:06 +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"
|
dir="zookeeper/3.5"
|
||||||
elif [[ "$dir" == "oauth2_proxy" ]]; then
|
elif [[ "$dir" == "oauth2_proxy" ]]; then
|
||||||
dir="oauth2-proxy"
|
dir="oauth2-proxy"
|
||||||
elif [[ "$dir" == "now-cli" ]]; then
|
|
||||||
dir="now"
|
|
||||||
elif [[ "$dir" == "wireguard" ]]; then
|
elif [[ "$dir" == "wireguard" ]]; then
|
||||||
dir="wireguard/install"
|
dir="wireguard/install"
|
||||||
fi
|
fi
|
||||||
@ -123,7 +121,6 @@ MidnightCommander/mc
|
|||||||
zyedidia/micro
|
zyedidia/micro
|
||||||
mitmproxy/mitmproxy
|
mitmproxy/mitmproxy
|
||||||
hashicorp/nomad
|
hashicorp/nomad
|
||||||
zeit/now-cli
|
|
||||||
nzbget/nzbget
|
nzbget/nzbget
|
||||||
pusher/oauth2_proxy
|
pusher/oauth2_proxy
|
||||||
facebook/osquery
|
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…
x
Reference in New Issue
Block a user