Created
May 8, 2019 09:31
-
-
Save wataken44/a78d81f0576cdb9a777db8f49f4b2626 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 wataken44/ubuntu-latest-sshd:latest | |
LABEL maintainer "wataken44" | |
ENV DOCKER "YES" | |
ENV LANG C.UTF-8 | |
RUN set -xe \ | |
&& apt update \ | |
&& apt install -y lsb-release curl gnupg python3 | |
RUN set -xe \ | |
&& echo "deb http://packages.cloud.google.com/apt cloud-sdk-$(lsb_release -c -s) main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list \ | |
&& curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - \ | |
&& apt update \ | |
&& apt install -y google-cloud-sdk google-cloud-sdk-app-engine-python google-cloud-sdk-app-engine-python-extras google-cloud-sdk-datastore-emulator | |
EXPOSE 22 | |
CMD service ssh start && tail -f /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment