Skip to content

Commit

Permalink
Update Docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie committed Jun 3, 2023
1 parent 48e510e commit efc2393
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 @@ -23,7 +23,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.18.0

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 @@ -23,7 +23,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.18.0

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 @@ -25,7 +25,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.18.0

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,7 +37,7 @@ RUN curl -LO https://github.com/mgieseki/dvisvgm/releases/download/$DVISVGM_VERS
make install

## 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 pkg@5.6.0 pkg-fetch@3.3.0

Expand All @@ -53,7 +53,7 @@ RUN npm install --target_arch=$([ "$TARGETARCH" = "amd64" ] && echo "x64" || ech
RUN /usr/local/bin/pkg --targets $NODE-$TARGETOS-$([ "$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 @@ -82,7 +82,7 @@ RUN npm install 2 --target_arch=$([ "$TARGETARCH" = "amd64" ] && echo "x64" || e
RUN /usr/local/bin/pkg --targets $NODE-$TARGETOS-$([ "$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 @@ -100,7 +100,7 @@ RUN npm install --target_arch=$([ "$TARGETARCH" = "amd64" ] && echo "x64" || ech
RUN /usr/local/bin/pkg --targets $NODE-$TARGETOS-$([ "$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 pkg@5.6.0 pkg-fetch@3.3.0

Expand All @@ -116,7 +116,7 @@ RUN npm install --target_arch=$([ "$TARGETARCH" = "amd64" ] && echo "x64" || ech
RUN /usr/local/bin/pkg --targets $NODE-$TARGETOS-$([ "$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 pkg@5.6.0 pkg-fetch@3.3.0

Expand Down Expand Up @@ -174,7 +174,7 @@ RUN wget -q "https://pikchr.org/home/raw/${PIKCHR_VERSION}" -O pikchr.c
RUN gcc -O0 -g -static -Wall -Wextra -DPIKCHR_SHELL pikchr.c -o pikchr -lm

## SVGBob
FROM --platform=$BUILDPLATFORM rust:1.68-slim-bullseye AS kroki-builder-static-svgbob
FROM --platform=$BUILDPLATFORM rust:1.70-slim-bullseye AS kroki-builder-static-svgbob

# Install cross-compilation tools
RUN apt-get update && apt-get install --no-install-recommends --yes \
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 efc2393

Please sign in to comment.