From 2e9f50b05369b7e946f1fe99515f49e97d146fba Mon Sep 17 00:00:00 2001 From: BuffaloWill Date: Tue, 31 Oct 2017 10:05:40 -0400 Subject: [PATCH] Migrating work done in https://github.com/BuffaloWill/oxml_xxe/issues/23 --- docker/Dockerfile | 11 +++++++++++ docker/README.md | 5 +++++ 2 files changed, 16 insertions(+) create mode 100644 docker/Dockerfile create mode 100644 docker/README.md diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000..2b8a10d --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,11 @@ +FROM ruby:2.3.5-slim +RUN apt-get update && \ + apt-get install -y make git libsqlite3-dev libxslt-dev libxml2-dev zlib1g-dev gcc && \ + apt-get clean +RUN git clone --depth=1 https://github.com/BuffaloWill/oxml_xxe.git /oxml_xxe && \ + cd /oxml_xxe && \ + bundle install +WORKDIR /oxml_xxe +EXPOSE 4567 +ENTRYPOINT ["ruby", "server.rb"] +CMD ["-o", "0.0.0.0"] diff --git a/docker/README.md b/docker/README.md new file mode 100644 index 0000000..62f8f71 --- /dev/null +++ b/docker/README.md @@ -0,0 +1,5 @@ +# Docker Build + +This docker build is authored by 0xdevalias (https://github.com/0xdevalias/docker-oxml_xxe), maintained as part of oxml_xxe. + +