From 173154bbf13517c4fb51d8f4d7deb9e9df55ead7 Mon Sep 17 00:00:00 2001 From: Garrett Beasley Date: Mon, 2 May 2022 14:28:03 -0700 Subject: [PATCH 1/5] update: ubuntu image + velo build --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4ed4837..b94eee1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM ubuntu:18.04 -LABEL version="Velociraptor v0.6.1" +FROM ubuntu:20.04 +LABEL version="Velociraptor v0.6.4" LABEL description="Velociraptor server in a Docker container" LABEL maintainer="Wes Lambert, @therealwlambert" -ENV VERSION="0.6.1" +ENV VERSION="0.6.4 " COPY ./entrypoint . RUN chmod +x entrypoint && \ apt-get update && \ From 73a317d31a01d89c0590bb1201859df984ba2aa7 Mon Sep 17 00:00:00 2001 From: Garrett Beasley Date: Thu, 5 May 2022 22:08:39 -0700 Subject: [PATCH 2/5] rm: old variables no longer referenced --- entrypoint | 3 --- 1 file changed, 3 deletions(-) diff --git a/entrypoint b/entrypoint index 5f1473c..b6a5670 100755 --- a/entrypoint +++ b/entrypoint @@ -3,9 +3,6 @@ set -e BIND_ADDRESS="0.0.0.0" PUBLIC_PATH="public" LOG_DIR="." -SERVER_URL="https://VelociraptorServer:8000/" -DATASTORE_LOCATION="./" -FILESTORE_DIRECTORY="./" CLIENT_DIR="/velociraptor/clients" # Move binaries into place From d7436b473f6e14b91875c4acf493ce3323841807 Mon Sep 17 00:00:00 2001 From: Garrett Beasley Date: Thu, 5 May 2022 22:11:37 -0700 Subject: [PATCH 3/5] rm: unused variable --- entrypoint | 1 - 1 file changed, 1 deletion(-) diff --git a/entrypoint b/entrypoint index b6a5670..cd16e79 100755 --- a/entrypoint +++ b/entrypoint @@ -2,7 +2,6 @@ set -e BIND_ADDRESS="0.0.0.0" PUBLIC_PATH="public" -LOG_DIR="." CLIENT_DIR="/velociraptor/clients" # Move binaries into place From c4021bbec90609fe3644cffcf1c9c585f956bd7a Mon Sep 17 00:00:00 2001 From: Garrett Beasley Date: Fri, 6 May 2022 08:34:03 -0700 Subject: [PATCH 4/5] revert: variable change Overlooked them being called in line 19. --- entrypoint | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/entrypoint b/entrypoint index cd16e79..5f1473c 100755 --- a/entrypoint +++ b/entrypoint @@ -2,6 +2,10 @@ set -e BIND_ADDRESS="0.0.0.0" PUBLIC_PATH="public" +LOG_DIR="." +SERVER_URL="https://VelociraptorServer:8000/" +DATASTORE_LOCATION="./" +FILESTORE_DIRECTORY="./" CLIENT_DIR="/velociraptor/clients" # Move binaries into place From 5e8865a87a4705e6a250d382ea6f3d26dc366729 Mon Sep 17 00:00:00 2001 From: Garrett Beasley Date: Fri, 6 May 2022 09:42:34 -0700 Subject: [PATCH 5/5] rm: version + server_url - No longer used after discussing with Wes further. --- Dockerfile | 1 - entrypoint | 1 - 2 files changed, 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b94eee1..a627ce4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,6 @@ FROM ubuntu:20.04 LABEL version="Velociraptor v0.6.4" LABEL description="Velociraptor server in a Docker container" LABEL maintainer="Wes Lambert, @therealwlambert" -ENV VERSION="0.6.4 " COPY ./entrypoint . RUN chmod +x entrypoint && \ apt-get update && \ diff --git a/entrypoint b/entrypoint index 5f1473c..b193b47 100755 --- a/entrypoint +++ b/entrypoint @@ -3,7 +3,6 @@ set -e BIND_ADDRESS="0.0.0.0" PUBLIC_PATH="public" LOG_DIR="." -SERVER_URL="https://VelociraptorServer:8000/" DATASTORE_LOCATION="./" FILESTORE_DIRECTORY="./" CLIENT_DIR="/velociraptor/clients"