Public Repository

Last pushed: a year ago
Short Description
Debian jessie with GAE python 3 for dev.
Full Description
FROM michinobumaeda/jessie-base
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y python3-pip
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y openjdk-7-jre
RUN curl https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-107.0.0-linux-x86_64.tar.gz | tar xz
RUN ./google-cloud-sdk/install.sh -q > gcs-install.log 2>&1 ; cat gcs-install.log
$ docker run -i -t --expose 8080 -p 8080:8080 michinobumaeda/gae-python3 /bin/bash
# cd
# git clone https://github.com/GoogleCloudPlatform/python-docs-samples
# cd python-docs-samples/managed_vms/hello_world
# pip3 install -r requirements.txt
# vi main.py

    app.run(host='127.0.0.1', port=8080, debug=True)

    app.run(host='0.0.0.0', port=8080, debug=True)

# python3 main.py
^C

# gcloud init
# gcloud beta emulators datastore start
^C
Docker Pull Command
Owner
michinobumaeda

Comments (0)