th: update ruby
ci/woodpecker/push/woodpecker Pipeline was successful Details

pull/62/head
kouhai dev 2023-07-05 00:27:37 -07:00
parent 763bcbbc19
commit 1857350c10
1 changed files with 5 additions and 4 deletions

View File

@ -1,9 +1,10 @@
# syntax=docker/dockerfile:1.4 # syntax=docker/dockerfile:1.4
# This needs to be bullseye-slim because the Ruby image is built on bullseye-slim # This needs to be bullseye-slim because the Ruby image is built on bullseye-slim
ARG NODE_VERSION="18.16-bullseye-slim" ARG NODE_IMAGE=node:18.16-bullseye-slim
ARG RUBY_IMAGE=ghcr.io/moritzheiber/ruby-jemalloc:3.2.2-slim
FROM ghcr.io/moritzheiber/ruby-jemalloc:3.2.1-slim as ruby FROM ${RUBY_IMAGE} as ruby
FROM node:${NODE_VERSION} as build-base FROM ${NODE_IMAGE} as build-base
COPY --link --from=ruby /opt/ruby /opt/ruby COPY --link --from=ruby /opt/ruby /opt/ruby
@ -62,7 +63,7 @@ RUN mv ./emoji_data/all.json ./node_modules/emoji-mart/data/all.json && yarn ins
bundle exec rails assets:precompile bundle exec rails assets:precompile
FROM node:${NODE_VERSION} FROM ${NODE_IMAGE}
# Use those args to specify your own version flags & suffixes # Use those args to specify your own version flags & suffixes
ARG MASTODON_VERSION_FLAGS="" ARG MASTODON_VERSION_FLAGS=""