blob: fb2fc22adff594b30bf2da997a8df2238a2d9632 [file] [log] [blame]
David Crawshaw2a5bd6d2025-04-30 14:29:46 -07001FROM ghcr.io/boldsoftware/sketch:8ad6c62da599d2e478ef79d6ef563630
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
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 -070014RUN set -eux; \
15 # Install any Python dependencies safely
16 pip3 install --no-cache-dir setuptools wheel || true; \
17 # Make sure sketch is executable
18 if [ -f /bin/sketch ]; then chmod +x /bin/sketch; fi
David Crawshaw11129492025-04-25 20:41:53 -070019
20CMD ["/bin/sketch"]