1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00
Files
quay/config-tool/Dockerfile
Brandon Caton fde6d6473d deps: config-tool and setup tools packages (PROJQUAY-9015) (#4053)
Upgrading the config tool go version to 1.23 and setup tools to version 78.1.1
2025-06-13 11:19:33 -04:00

21 lines
589 B
Docker

FROM registry.access.redhat.com/ubi8/ubi:latest as jsbuild
WORKDIR /jssrc
COPY pkg/lib/editor .
RUN yum install -y nodejs && \
npm install --ignore-engines && \
npm run build
FROM golang:1.23-alpine
RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/* && mkdir /usr/local/share/ca-certificates/extra
WORKDIR /go/src/config-tool
COPY . .
RUN rm -rf /go/src/config-tool/pkg/lib/editor/static/build
COPY --from=jsbuild /jssrc/static/build /go/src/config-tool/pkg/lib/editor/static/build
RUN go get -d -v ./...
RUN go install -v ./...
ENTRYPOINT [ "config-tool" ]