Skip to content

Commit

Permalink
E: use golang:1.23-bookworm and node:20-alpine (use npm instead of yarn)
Browse files Browse the repository at this point in the history
  • Loading branch information
meck93 committed Nov 6, 2024
1 parent d7f4151 commit a0c160d
Show file tree
Hide file tree
Showing 5 changed files with 21,495 additions and 26,561 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
FROM golang:1.23.1
FROM golang:1.23-bookworm
COPY . /go/src/github.com/keel-hq/keel
WORKDIR /go/src/github.com/keel-hq/keel
RUN make install

FROM node:16-alpine
FROM node:20-alpine
WORKDIR /app
COPY ui /app
RUN yarn
RUN yarn run lint --no-fix
RUN yarn run build
RUN npm install
RUN npm run lint --no-fix
RUN npm run build

FROM alpine:latest
RUN apk --no-cache add ca-certificates
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile.armhf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM node:lts-alpine as ui
FROM node:20-alpine as ui
WORKDIR /app
COPY ui /app
RUN yarn
RUN yarn run lint --no-fix
RUN yarn run build
RUN npm install
RUN npm run lint --no-fix
RUN npm run build

FROM arm32v7/debian:buster
ADD ca-certificates.crt /etc/ssl/certs/
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.debian
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.23.1
FROM golang:1.23-bookworm
COPY . /go/src/github.com/keel-hq/keel
WORKDIR /go/src/github.com/keel-hq/keel
RUN make build
Expand Down
Loading

0 comments on commit a0c160d

Please sign in to comment.