1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00
Files
quay/config-tool/Dockerfile.dev
Deirdre Malone e8790e844d chore(deps): update go version to 1.24.8 (PROJQUAY-9842) (#4653)
Update go version 1.24.8
Fix for CVE-2025-58183
2025-12-02 15:54:36 +00:00

29 lines
736 B
Docker

FROM registry.access.redhat.com/ubi8/ubi:latest as jsbuild
ENV GOROOT /usr/local/go
ENV GOPATH /go
ENV PATH $PATH:$GOPATH/bin:$GOROOT/bin
WORKDIR /jssrc
COPY pkg/lib/editor/package.json .
COPY pkg/lib/editor/tsconfig.json .
COPY pkg/lib/editor/webpack.config.js .
COPY pkg/lib/editor/package-lock.json .
COPY pkg/lib/editor/static .
RUN yum install -y nodejs && \
yum install -y git && \
npm install --ignore-engines
RUN yum install -y wget && \
wget https://golang.org/dl/go1.24.8.linux-amd64.tar.gz && \
tar -C /usr/local -xzf go1.24.8.linux-amd64.tar.gz
WORKDIR /go/src/config-tool
RUN go get github.com/cosmtrek/air
COPY . .
RUN go get -d -v ./...
RUN go install -v ./...
ENTRYPOINT ["air", "-c", ".air.toml"]