From e0e2b028f39e7d086c29366d490aa8d295f9c7ac Mon Sep 17 00:00:00 2001 From: Serge Guzik Date: Sun, 17 Feb 2019 14:21:21 +0200 Subject: [PATCH] chore: Make separate Dockerfile for docker hub --- docker/Dockerfile => Dockerfile | 0 dockerhub/Dockerfile | 27 +++++++++++++++++++++++++++ {docker => dockerhub}/README.md | 0 3 files changed, 27 insertions(+) rename docker/Dockerfile => Dockerfile (100%) create mode 100644 dockerhub/Dockerfile rename {docker => dockerhub}/README.md (100%) diff --git a/docker/Dockerfile b/Dockerfile similarity index 100% rename from docker/Dockerfile rename to Dockerfile diff --git a/dockerhub/Dockerfile b/dockerhub/Dockerfile new file mode 100644 index 0000000..11a726e --- /dev/null +++ b/dockerhub/Dockerfile @@ -0,0 +1,27 @@ +FROM debian:stable-slim +RUN apt-get update && apt-get install -y \ + curl \ + file \ + unzip \ + zip \ + && rm -rf /var/lib/apt/lists/* +RUN curl -fsSL -o /tmp/warp-packer \ + https://github.com/dgiagio/warp/releases/download/v0.3.0/linux-x64.warp-packer \ + && install -D \ + --mode=755 \ + --owner=root \ + --group=root \ + /tmp/warp-packer \ + /usr/local/bin \ + && rm /tmp/warp-packer +RUN curl -fsSL -o /tmp/warp4j \ + https://raw.githubusercontent.com/guziks/warp4j/stable/warp4j \ + && install -D \ + --mode=755 \ + --owner=root \ + --group=root \ + /tmp/warp4j \ + /usr/local/bin \ + && rm /tmp/warp4j +WORKDIR /workdir +ENTRYPOINT [ "/usr/local/bin/warp4j" ] diff --git a/docker/README.md b/dockerhub/README.md similarity index 100% rename from docker/README.md rename to dockerhub/README.md