Created
January 6, 2019 15:45
-
-
Save juanpabloaj/2d7b9efa8c9d5dfbd0fe80e8ac271b82 to your computer and use it in GitHub Desktop.
dockerfile debian to use with google cloud
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
version: '3' | |
services: | |
develop: | |
build: | |
context: . | |
ports: | |
- "3389:22" | |
- "80:3000" | |
stdin_open: true | |
tty: true |
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 debian:jessie | |
RUN apt-get update -y && \ | |
apt-get -y install openssh-server vim | |
RUN sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' /etc/ssh/sshd_config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment