Skip to content

Commit

Permalink
Update Docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie committed Apr 17, 2023
1 parent 58792c3 commit 80bb7d1
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion blockdiag/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11.0-alpine3.16
FROM python:3.11.3-alpine3.16

RUN addgroup -g 1000 kroki && adduser -D -G kroki -u 1000 kroki

Expand Down
4 changes: 2 additions & 2 deletions bpmn/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Package the Node.js project into a single binary
FROM --platform=$BUILDPLATFORM node:16.18.1-alpine3.16 as builder
FROM --platform=$BUILDPLATFORM node:16.20.0-alpine3.16 as builder

# Workaround: https://github.com/nodejs/docker-node/issues/813#issuecomment-407339011
# Error: could not get uid/gid
Expand All @@ -22,7 +22,7 @@ RUN npm run lint
RUN /usr/local/bin/pkg --targets ${NODE}-${PLATFORM}-$([ "$TARGETARCH" == "amd64" ] && echo "x64" || echo "$TARGETARCH") . -o app.bin

# Create the image
FROM alpine:3.16.3
FROM alpine:3.17.3

RUN addgroup -g 1000 kroki && adduser -D -G kroki -u 1000 kroki

Expand Down
4 changes: 2 additions & 2 deletions diagrams.net/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Package the Node.js project into a single binary
FROM --platform=$BUILDPLATFORM node:16.18.1-alpine3.16 as builder
FROM --platform=$BUILDPLATFORM node:16.20.0-alpine3.16 as builder

# Workaround: https://github.com/nodejs/docker-node/issues/813#issuecomment-407339011
# Error: could not get uid/gid
Expand All @@ -22,7 +22,7 @@ RUN npm run lint
RUN /usr/local/bin/pkg --targets ${NODE}-${PLATFORM}-$([ "$TARGETARCH" == "amd64" ] && echo "x64" || echo "$TARGETARCH") . -o app.bin

# Create the image
FROM alpine:3.16.3
FROM alpine:3.17.3

RUN addgroup -g 1000 kroki && adduser -D -G kroki -u 1000 kroki

Expand Down
4 changes: 2 additions & 2 deletions excalidraw/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Package the Node.js project into a single binary
FROM --platform=$BUILDPLATFORM node:16.18.1-alpine3.16 as builder
FROM --platform=$BUILDPLATFORM node:16.20.0-alpine3.16 as builder

# Workaround: https://github.com/nodejs/docker-node/issues/813#issuecomment-407339011
# Error: could not get uid/gid
Expand All @@ -24,7 +24,7 @@ RUN npm run prestart
RUN /usr/local/bin/pkg --targets ${NODE}-${PLATFORM}-$([ "$TARGETARCH" == "amd64" ] && echo "x64" || echo "$TARGETARCH") . -o app.bin

# Create the image
FROM alpine:3.16.3
FROM alpine:3.17.3

RUN addgroup -g 1000 kroki && adduser -D -G kroki -u 1000 kroki

Expand Down
2 changes: 1 addition & 1 deletion mermaid/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16.18-alpine3.16
FROM node:16.20-alpine3.16

RUN addgroup -g 1001 kroki && adduser -D -G kroki -u 1001 kroki

Expand Down
12 changes: 6 additions & 6 deletions server/ops/docker/jdk11-jammy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ RUN curl -LO https://github.com/mgieseki/dvisvgm/releases/download/$DVISVGM_VERS
make install

## D2
FROM golang:1.19.3-bullseye AS kroki-builder-d2
FROM golang:1.20.3-bullseye AS kroki-builder-d2
COPY ops/docker/go.mod .

RUN D2_VERSION=`cat go.mod | grep "oss.terrastruct.com/d2" | cut -d' ' -f3` && \
rm go.mod && \
go install "oss.terrastruct.com/d2@${D2_VERSION}"

## Nomnoml
FROM --platform=$BUILDPLATFORM node:16.18.1-bullseye-slim AS kroki-builder-nomnoml
FROM --platform=$BUILDPLATFORM node:16.20.0-bullseye-slim AS kroki-builder-nomnoml

RUN npm install -g [email protected] [email protected]

Expand All @@ -60,7 +60,7 @@ RUN npm install && npm run lint
RUN /usr/local/bin/pkg --targets ${NODE}-${PLATFORM}-$([ "$TARGETARCH" == "amd64" ] && echo "x64" || echo "$TARGETARCH") . -o app.bin

## Vega
FROM --platform=$BUILDPLATFORM node:16.18.1-bullseye-slim AS kroki-builder-vega
FROM --platform=$BUILDPLATFORM node:16.20.0-bullseye-slim AS kroki-builder-vega

# System dependencies for "canvas" Node package
# https://github.com/Automattic/node-canvas#compiling
Expand Down Expand Up @@ -88,7 +88,7 @@ RUN npm install 2 && npm run lint && npm t
RUN /usr/local/bin/pkg --targets ${NODE}-${PLATFORM}-$([ "$TARGETARCH" == "amd64" ] && echo "x64" || echo "$TARGETARCH") . -o app.bin

## DBML
FROM --platform=$BUILDPLATFORM node:16.18.1-bullseye-slim AS kroki-builder-dbml
FROM --platform=$BUILDPLATFORM node:16.20.0-bullseye-slim AS kroki-builder-dbml

RUN npm config set unsafe-perm true

Expand All @@ -105,7 +105,7 @@ RUN npm install && npm run lint
RUN /usr/local/bin/pkg --targets ${NODE}-${PLATFORM}-$([ "$TARGETARCH" == "amd64" ] && echo "x64" || echo "$TARGETARCH") . -o app.bin

## Wavedrom
FROM --platform=$BUILDPLATFORM node:16.18.1-bullseye-slim AS kroki-builder-wavedrom
FROM --platform=$BUILDPLATFORM node:16.20.0-bullseye-slim AS kroki-builder-wavedrom

RUN npm install -g [email protected] [email protected]

Expand All @@ -120,7 +120,7 @@ RUN npm install && npm run lint
RUN /usr/local/bin/pkg --targets ${NODE}-${PLATFORM}-$([ "$TARGETARCH" == "amd64" ] && echo "x64" || echo "$TARGETARCH") . -o app.bin

## Bytefield
FROM --platform=$BUILDPLATFORM node:16.18.1-bullseye-slim AS kroki-builder-bytefield
FROM --platform=$BUILDPLATFORM node:16.20.0-bullseye-slim AS kroki-builder-bytefield

RUN npm install -g [email protected] [email protected]

Expand Down
2 changes: 1 addition & 1 deletion wireviz/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11.0-alpine3.16
FROM python:3.11.3-alpine3.16

RUN addgroup -g 1000 kroki && adduser -D -G kroki -u 1000 kroki

Expand Down

0 comments on commit 80bb7d1

Please sign in to comment.