Skip to content

Commit

Permalink
Update Docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie committed Mar 26, 2023
1 parent 47f5b72 commit 8112b5f
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 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.2-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=${TARGETPLATFORM:-linux/amd64} node:16.18.1-alpine3.16 as builder
FROM --platform=${TARGETPLATFORM:-linux/amd64} node:16.19.1-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 --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.16.3
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.17.2

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=${TARGETPLATFORM:-linux/amd64} node:16.18.1-alpine3.16 as builder
FROM --platform=${TARGETPLATFORM:-linux/amd64} node:16.19.1-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 --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.16.3
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.17.2

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=${TARGETPLATFORM:-linux/amd64} node:16.18.1-alpine3.16 as builder
FROM --platform=${TARGETPLATFORM:-linux/amd64} node:16.19.1-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 --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.16.3
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.17.2

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 --platform=${TARGETPLATFORM:-linux/amd64} node:16.18-alpine3.16
FROM --platform=${TARGETPLATFORM:-linux/amd64} node:16.19-alpine3.16

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

Expand Down
14 changes: 7 additions & 7 deletions server/ops/docker/jdk11-jammy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# syntax=docker/dockerfile:1.4
## D2
FROM golang:1.19.3-bullseye AS kroki-builder-d2
FROM golang:1.20.2-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 node:16.18.1-bullseye-slim AS kroki-builder-nomnoml
FROM node:16.19.1-bullseye-slim AS kroki-builder-nomnoml

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

Expand All @@ -24,7 +24,7 @@ RUN npm run lint
RUN /usr/local/bin/pkg --targets ${NODE}-${PLATFORM} . -o app.bin

## Vega
FROM node:16.18.1-bullseye-slim AS kroki-builder-vega
FROM node:16.19.1-bullseye-slim AS kroki-builder-vega

# System dependencies for "canvas" Node package
# https://github.com/Automattic/node-canvas#compiling
Expand Down Expand Up @@ -53,7 +53,7 @@ RUN npm run lint && npm t
RUN /usr/local/bin/pkg --targets ${NODE}-${PLATFORM} . -o app.bin

## DBML
FROM node:16.18.1-bullseye-slim AS kroki-builder-dbml
FROM node:16.19.1-bullseye-slim AS kroki-builder-dbml

RUN npm config set unsafe-perm true

Expand All @@ -71,7 +71,7 @@ RUN npm run lint
RUN /usr/local/bin/pkg --targets ${NODE}-${PLATFORM} . -o app.bin

## Wavedrom
FROM node:16.18.1-bullseye-slim AS kroki-builder-wavedrom
FROM node:16.19.1-bullseye-slim AS kroki-builder-wavedrom

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

Expand All @@ -87,7 +87,7 @@ RUN npm run lint
RUN /usr/local/bin/pkg --targets ${NODE}-${PLATFORM} . -o app.bin

## Bytefield
FROM node:16.18.1-bullseye-slim AS kroki-builder-bytefield
FROM node:16.19.1-bullseye-slim AS kroki-builder-bytefield

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

Expand Down Expand Up @@ -144,7 +144,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 rust:1.65-slim-bullseye AS kroki-builder-static-svgbob
FROM rust:1.68-slim-bullseye AS kroki-builder-static-svgbob
RUN rustup target add x86_64-unknown-linux-musl
COPY ops/docker/Cargo.toml .

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.2-alpine3.16

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

Expand Down

0 comments on commit 8112b5f

Please sign in to comment.