blob: d61eed3ee7b8655b560c3bdeac9726f390119f06 [file] [log] [blame]
David Crawshaw2a5bd6d2025-04-30 14:29:46 -07001FROM ghcr.io/boldsoftware/sketch:8ad6c62da599d2e478ef79d6ef563630
David Crawshawbe10fa92025-04-18 01:16:00 -07002
Earl Lee2e463fb2025-04-17 11:22:22 -07003ARG GIT_USER_EMAIL
4ARG GIT_USER_NAME
5
6RUN git config --global user.email "$GIT_USER_EMAIL" && \
7 git config --global user.name "$GIT_USER_NAME"
8
Earl Lee2e463fb2025-04-17 11:22:22 -07009COPY . /app
10
11WORKDIR /app
12RUN if [ -f go.mod ]; then go mod download; fi
13
David Crawshaw2a5bd6d2025-04-30 14:29:46 -070014# Install Python 3.11 and ensure it's the default python3
15RUN apt-get update && apt-get install -y --no-install-recommends python3.11 python3.11-venv python3-pip || true
16RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1
Josh Bleecher Snydere2d24ab2025-04-30 00:01:41 +000017
David Crawshaw2a5bd6d2025-04-30 14:29:46 -070018# Install DVC tool
19RUN pip3 install dvc || true
David Crawshaw11129492025-04-25 20:41:53 -070020
21CMD ["/bin/sketch"]