diff options
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Dockerfile | 27 | ||||
-rw-r--r-- | docker/README.md | 4 |
2 files changed, 3 insertions, 28 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile deleted file mode 100644 index 706b5c8..0000000 --- a/docker/Dockerfile +++ /dev/null @@ -1,27 +0,0 @@ - -# Base our image on an official, minimal image of our preferred goLang -FROM golang:1.8.1 - -# Note: The default golang docker image, already has the GOPATH env variable set. -# GOPATH is located at /go -ENV GO_SRC $GOPATH/src -ENV PONZU_GITHUB github.com/ponzu-cms/ponzu -ENV PONZU_ROOT $GO_SRC/$PONZU_GITHUB - -# Consider updating package in the future. For instance ca-certificates etc. -# RUN apt-get update -qq && apt-get install -y build-essential - -# Make the ponzu root directory -RUN mkdir -p $PONZU_ROOT - -# All commands will be run inside of ponzu root -WORKDIR $PONZU_ROOT - -# Copy the ponzu source into ponzu root. -COPY . . - -# the following runs the code inside of the $GO_SRC/$PONZU_GITHUB directory -RUN go get $PONZU_GITHUB... - -# Define the scripts we want run once the container boots -# CMD [ "" ] diff --git a/docker/README.md b/docker/README.md index 98841af..2401588 100644 --- a/docker/README.md +++ b/docker/README.md @@ -1,3 +1,5 @@ +# TODO: remove from here and add to wki + ## Ponzu Docker build Ponzu is distributed as a docker image **NEEDS LINK**, which aids in docker deployment. The Dockerfile in this directory is used by ponzu to generate the docker image which contains the ponzu executable. @@ -7,7 +9,7 @@ Ponzu is distributed as a docker image **NEEDS LINK**, which aids in docker depl #### Build the docker image. Run from the root of the project. ```bash # from the root of ponzu: -docker build -f docker/Dockerfile -t ponzu-dev . +docker build -t ponzu-dev ``` #### Start the image, share the local directory and pseudo terminal (tty) into for debugging: |