From 54029dbbc4b316f174ae28de4c85993463fb4840 Mon Sep 17 00:00:00 2001 From: michelangelo314 Date: Sun, 4 Feb 2018 22:33:25 -0600 Subject: [PATCH] setting correct tag in dockerfile, adding docker ignore --- .dockerignore | 5 +++++ Dockerfile | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000000..1e0e0c170b --- /dev/null +++ b/.dockerignore @@ -0,0 +1,5 @@ + +build/ +.git/ +README.md +LICENSE \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 2a7c55039d..cd3cfc15c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,8 @@ # run something like tail /var/log/turtlecoind/current to see the status # be sure to run with volumes, ie: # docker run -v $(pwd)/turtlecoind:/var/lib/turtlecoind -v $(pwd)/wallet:/home/turtlecoin --rm -ti turtlecoin:0.2.2 -FROM ubuntu:16.04 +ARG base_image_version=0.10.0 +FROM phusion/baseimage:$base_image_version ADD https://github.com/just-containers/s6-overlay/releases/download/v1.21.2.2/s6-overlay-amd64.tar.gz /tmp/ RUN tar xzf /tmp/s6-overlay-amd64.tar.gz -C / @@ -10,7 +11,8 @@ RUN tar xzf /tmp/s6-overlay-amd64.tar.gz -C / ADD https://github.com/just-containers/socklog-overlay/releases/download/v2.1.0-0/socklog-overlay-amd64.tar.gz /tmp/ RUN tar xzf /tmp/socklog-overlay-amd64.tar.gz -C / -ARG TURTLECOIN_VERSION=v0.3.1 +ARG TURTLECOIN_VERSION=v0.3.0 +ENV TURTLECOIN_VERSION=${TURTLECOIN_VERSION} # install build dependencies # checkout the latest tag