Update to 0.4.5 and other changes

This commit is contained in:
Wes Lambert
2020-07-07 02:07:01 +00:00
parent 45631ee114
commit 4372f0569a
3 changed files with 42 additions and 26 deletions

View File

@@ -1,23 +1,21 @@
FROM ubuntu:18.04
LABEL version="Velociraptor v0.3.9"
LABEL version="Velociraptor v0.4.5"
LABEL description="Velociraptor server in a Docker container"
LABEL maintainer="Wes Lambert, @therealwlambert"
ENV VERSION="0.3.9"
ENV VERSION="0.4.5"
COPY ./entrypoint .
RUN chmod +x entrypoint && \
apt-get update && \
apt-get install -y wget && \
mkdir -p /velociraptor && \
mkdir -p /velociraptor/clients/linux && \
mkdir -p /velociraptor/clients/mac && \
mkdir -p /velociraptor/clients/windows && \
wget -O /velociraptor/velociraptor https://github.com/Velocidex/velociraptor/releases/download/v$VERSION/velociraptor-v$VERSION-linux-amd64 && \
chmod +x /velociraptor/velociraptor && \
cp /velociraptor/velociraptor /velociraptor/clients/linux/velociraptor_client && \
wget -O /velociraptor/clients/mac/velociraptor_client https://github.com/Velocidex/velociraptor/releases/download/v$VERSION/velociraptor-v$VERSION-darwin-amd64 && \
wget -O /velociraptor/clients/windows/velociraptor_client.exe https://github.com/Velocidex/velociraptor/releases/download/v$VERSION/velociraptor-v$VERSION-windows-amd64.exe && \
chmod -R +x /velociraptor/clients && \
# Create dirs for Velox binaries
mkdir -p /opt/velociraptor && \
for i in linux mac windows; do mkdir -p /opt/velociraptor/$i; done && \
# Get Velox binaries
wget -O /opt/velociraptor/linux/velociraptor https://github.com/Velocidex/velociraptor/releases/download/v$VERSION/velociraptor-v$VERSION-linux-amd64 && \
wget -O /opt/velociraptor/mac/velociraptor_client https://github.com/Velocidex/velociraptor/releases/download/v$VERSION/velociraptor-v$VERSION-darwin-amd64 && \
wget -O /opt/velociraptor/windows/velociraptor_client.exe https://github.com/Velocidex/velociraptor/releases/download/v$VERSION/velociraptor-v$VERSION-windows-amd64.exe && \
# Clean up
apt-get remove -y --purge wget && \
apt-get clean
WORKDIR /velociraptor
CMD ["/entrypoint"]