|
|
@ -1,6 +1,6 @@
|
|
|
|
# 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="16.17.1-bullseye-slim"
|
|
|
|
ARG NODE_VERSION="16.18.1-bullseye-slim"
|
|
|
|
|
|
|
|
|
|
|
|
FROM ghcr.io/moritzheiber/ruby-jemalloc:3.0.4-slim as ruby
|
|
|
|
FROM ghcr.io/moritzheiber/ruby-jemalloc:3.0.4-slim as ruby
|
|
|
|
FROM node:${NODE_VERSION} as build
|
|
|
|
FROM node:${NODE_VERSION} as build
|
|
|
@ -36,7 +36,7 @@ RUN apt update && \
|
|
|
|
bundle config set --local without 'development test' && \
|
|
|
|
bundle config set --local without 'development test' && \
|
|
|
|
bundle config set silence_root_warning true && \
|
|
|
|
bundle config set silence_root_warning true && \
|
|
|
|
bundle install -j"$(nproc)" && \
|
|
|
|
bundle install -j"$(nproc)" && \
|
|
|
|
yarn install --pure-lockfile
|
|
|
|
yarn install --pure-lockfile --network-timeout 600000
|
|
|
|
|
|
|
|
|
|
|
|
FROM node:${NODE_VERSION}
|
|
|
|
FROM node:${NODE_VERSION}
|
|
|
|
|
|
|
|
|
|
|
|