Skip to content

Commit

Permalink
Fixed mastodon version injection into containers via github actions (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
timetinytim committed May 4, 2023
1 parent c9210af commit ac41a97
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
# This needs to be bullseye-slim because the Ruby image is built on bullseye-slim
ARG NODE_VERSION="16.20-bullseye-slim"

# Use those args to specify your own version flags & suffixes
ARG MASTODON_VERSION_FLAGS=""
ARG MASTODON_VERSION_SUFFIX=""

FROM ghcr.io/moritzheiber/ruby-jemalloc:3.2.2-slim as ruby
FROM node:${NODE_VERSION} as build

Expand Down Expand Up @@ -45,6 +41,10 @@ RUN apt-get update && \

FROM node:${NODE_VERSION}

# Use those args to specify your own version flags & suffixes
ARG MASTODON_VERSION_FLAGS=""
ARG MASTODON_VERSION_SUFFIX=""

ARG UID="991"
ARG GID="991"

Expand Down

1 comment on commit ac41a97

@vmstan
Copy link
Contributor

@vmstan vmstan commented on ac41a97 May 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does indeed actually generate the formatted version now.

Please sign in to comment.