mark/Dockerfile
dependabot[bot] 9486f0bbcf
Some checks failed
continuous-integration / ci-go-lint (push) Failing after 9m44s
continuous-integration / ci-markdown-lint (push) Failing after 16m50s
continuous-integration / ci-unit-tests (push) Failing after 7m22s
continuous-integration / ci-build (push) Failing after 7m22s
continuous-integration / ci-docker-build (push) Failing after 1m35s
Bump golang from 1.23.4 to 1.23.5
Bumps golang from 1.23.4 to 1.23.5.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-20 08:32:47 +01:00

19 lines
478 B
Docker

FROM golang:1.23.5 AS builder
ENV GOPATH="/go"
WORKDIR /go/src/github.com/kovetskiy/mark
COPY / .
RUN make get \
&& make build
FROM chromedp/headless-shell:latest
RUN apt-get update \
&& apt-get upgrade -qq \
&& apt-get install --no-install-recommends -qq ca-certificates bash sed git dumb-init \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
COPY --from=builder /go/src/github.com/kovetskiy/mark/mark /bin/
WORKDIR /docs
ENTRYPOINT ["dumb-init", "--"]