diff --git a/Dockerfile b/Dockerfile index 67b79f5..4363242 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,17 +3,19 @@ MAINTAINER Matteo Guglielmetti RUN apt-get update && \ apt-get install --no-install-recommends -y \ +unzip \ ca-certificates \ wget && \ apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* WORKDIR /opt -RUN wget -nv https://github.com/gophish/gophish/releases/download/v0.1.1/gophish_linux_64bit.tar.gz && \ -tar -xf gophish_linux_64bit.tar.gz && \ -rm -f gophish_linux_64bit.tar.gz +RUN wget -nv https://github.com/gophish/gophish/releases/download/v0.1.2/gophish_linux_64bit.zip && \ +unzip gophish_linux_64bit.zip && \ +rm -f gophish_linux_64bit.zip -WORKDIR /opt/gophish_linux_amd64 -RUN sed -i "s|127.0.0.1|0.0.0.0|g" config.json +WORKDIR /opt/gophish_linux_64bit +RUN sed -i "s|127.0.0.1|0.0.0.0|g" config.json && \ +chmod +x gophish EXPOSE 3333 80 ENTRYPOINT ["./gophish"] diff --git a/README.md b/README.md index 7850553..8cb46b9 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ This is a quick way to deploy a [gophish](https://github.com/gophish/gophish) installation on your local machine. -The version running is 0.1.1 on the official Debian Jessie container. Latest stable image version is 0.5. +The version running is 0.1.2 on the official Debian Jessie container. Latest stable image version is 0.6. ## Usage