blob: b53e8faac84fe069328ea50a3c7766768f313dc3 [file] [log] [blame]
David Crawshaw11129492025-04-25 20:41:53 -07001FROM ghcr.io/boldsoftware/sketch:v1
Earl Lee2e463fb2025-04-17 11:22:22 -07002
3ARG 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 Snydere2d24ab2025-04-30 00:01:41 +00009LABEL sketch_context="17320ef95f67844208ac1b3e00f1f4dd0951e229517619bdbc8085eba3a7e067"
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 Snydere2d24ab2025-04-30 00:01:41 +000015RUN apk add --no-cache python3 py3-pip || true
16RUN pip3 install --upgrade pip || true
David Crawshaw11129492025-04-25 20:41:53 -070017
18CMD ["/bin/sketch"]