mirror of
https://github.com/kovetskiy/mark.git
synced 2025-01-23 09:13:49 +08:00
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
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>
19 lines
478 B
Docker
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", "--"]
|