Skip to content

Commit 1dddf42

Browse files
committed
Cleanup /var/tmp
1 parent a0352f5 commit 1dddf42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ RUN mkdir -p /var/tmp/oauth2_proxy && \
1616
wget --progress=dot:mega https://github.com/bitly/oauth2_proxy/releases/download/v${OAUTH2_PROXY_VERSION}/${OAUTH2_PROXY_PKG}.tar.gz && \
1717
echo "${OAUTH2_PROXY_SHA} *${OAUTH2_PROXY_PKG}.tar.gz" | sha256sum -c - && \
1818
tar xvf ${OAUTH2_PROXY_PKG}.tar.gz && \
19-
cp /var/tmp/oauth2_proxy/${OAUTH2_PROXY_PKG}/oauth2_proxy /bin/
19+
cp /var/tmp/oauth2_proxy/${OAUTH2_PROXY_PKG}/oauth2_proxy /bin/ &&
20+
rm -rf /var/tmp/oauth2_proxy
2021

2122
EXPOSE 4180
2223

0 commit comments

Comments
 (0)