blob: 42b20f2af1c649c48db6c3e68b3dc1d857219db3 [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
David Crawshaw11129492025-04-25 20:41:53 -07009LABEL sketch_context="c94b5070bcccf737554bc3e44eea559cf127c86b33d80218f3a1689411fab529"
Earl Lee2e463fb2025-04-17 11:22:22 -070010COPY . /app
11
12WORKDIR /app
13RUN if [ -f go.mod ]; then go mod download; fi
14
David Crawshaw11129492025-04-25 20:41:53 -070015RUN apk add --no-cache build-base || true
16
17CMD ["/bin/sketch"]