From e570e6b3470debfb306f3edf1914b3d3992b74d9 Mon Sep 17 00:00:00 2001 From: Yohanes Alfredo Date: Tue, 23 May 2023 01:20:36 +0800 Subject: [PATCH] Update base image to use official python image to pin python version --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 492e2e0a5b..a827230258 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:latest +FROM python:3.8-buster SHELL ["/bin/bash", "-c"] ARG TZ="UTC" @@ -12,7 +12,7 @@ ADD . . RUN if [ -z "$(ls plugins/stockpile)" ]; then echo "stockpile plugin not downloaded - please ensure you recursively cloned the caldera git repository and try again."; exit 1; fi RUN apt-get update && \ - apt-get -y install python3 python3-pip git curl + apt-get -y install python3-venv git curl #WIN_BUILD is used to enable windows build in sandcat plugin ARG WIN_BUILD=false