blob: 031bf57453696dbe52d2b51821d38a525165140e [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
Josh Bleecher Snyderc76a3922025-05-01 01:18:56 +00009LABEL sketch_context="06ae0e78aabfa84fc629e6585f6260ec08fb49fc84330a9307173654d41a5628"
Earl Lee2e463fb2025-04-17 11:22:22 -070010COPY . /app
11
12WORKDIR /app
13RUN if [ -f go.mod ]; then go mod download; fi
14
Josh Bleecher Snyderc76a3922025-05-01 01:18:56 +000015# Install Python 3.11
16RUN apt-get update && apt-get install -y --no-install-recommends python3.11 python3.11-dev python3.11-venv python3-pip || true
17
18# Set up Python environment
19RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1 || true
Josh Bleecher Snydere2d24ab2025-04-30 00:01:41 +000020
David Crawshaw2a5bd6d2025-04-30 14:29:46 -070021# Install DVC tool
22RUN pip3 install dvc || true
David Crawshaw11129492025-04-25 20:41:53 -070023
24CMD ["/bin/sketch"]