Skip to content

Instantly share code, notes, and snippets.

@CyberLight
Created July 19, 2019 05:24
Show Gist options
  • Save CyberLight/8105592aacb861f1633890db8d5cc9fa to your computer and use it in GitHub Desktop.
Save CyberLight/8105592aacb861f1633890db8d5cc9fa to your computer and use it in GitHub Desktop.
Medium Dockerfile codeclimate
RUN apt-get update \
&& apt-get install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common lsb-release \
&& curl -fsSL https://download.docker.com/linux/$(/usr/bin/lsb_release -is | tr '[:upper:]' '[:lower:]')/gpg | apt-key add - 2>&1 >/dev/null \
&& add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/$(/usr/bin/lsb_release -is | tr '[:upper:]' '[:lower:]') $(lsb_release -cs) stable" \
&& apt-get update \
&& apt-get install -y docker-ce-cli
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment