Created
February 5, 2019 14:35
-
-
Save os1ma/845cb8b45b11dcf00d8c996ef6e78cae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:3.9 | |
ENV HUB_VERSION=2.8.4 | |
ENV HUB_DIR=hub-linux-amd64-${HUB_VERSION} | |
ENV HUB_TGZ=${HUB_DIR}.tgz | |
RUN apk add --no-cache \ | |
git \ | |
curl \ | |
libc6-compat \ | |
&& curl -LO https://github.com/github/hub/releases/download/v${HUB_VERSION}/${HUB_TGZ} \ | |
&& tar -xzf ${HUB_TGZ} \ | |
&& ${HUB_DIR}/install \ | |
&& rm ${HUB_TGZ} \ | |
&& rm -rf ${HUB_DIR} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment