From 5645143baaaa479d247ca06258b641c607fd8964 Mon Sep 17 00:00:00 2001 From: Matthias Kadenbach Date: Thu, 23 Feb 2017 13:13:02 -0800 Subject: [PATCH] add example dockerfile --- cli/examples/Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 cli/examples/Dockerfile diff --git a/cli/examples/Dockerfile b/cli/examples/Dockerfile new file mode 100644 index 0000000..740f951 --- /dev/null +++ b/cli/examples/Dockerfile @@ -0,0 +1,12 @@ +FROM ubuntu:xenial + +RUN apt-get update && \ + apt-get install -y curl apt-transport-https + +RUN curl -L https://packagecloud.io/mattes/migrate/gpgkey | apt-key add - && \ + echo "deb https://packagecloud.io/mattes/migrate/ubuntu/ xenial main" > /etc/apt/sources.list.d/migrate.list && \ + apt-get update && \ + apt-get install -y migrate + +RUN migrate -version +