Skip to content

Instantly share code, notes, and snippets.

@juanpabloaj
Created January 6, 2019 15:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juanpabloaj/2d7b9efa8c9d5dfbd0fe80e8ac271b82 to your computer and use it in GitHub Desktop.
Save juanpabloaj/2d7b9efa8c9d5dfbd0fe80e8ac271b82 to your computer and use it in GitHub Desktop.
dockerfile debian to use with google cloud
version: '3'
services:
develop:
build:
context: .
ports:
- "3389:22"
- "80:3000"
stdin_open: true
tty: true
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