Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Mastodon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Mastodon
Commits
64d69eb9
Unverified
Commit
64d69eb9
authored
10 months ago
by
Shlee
Committed by
GitHub
10 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Change default ruby version to 3.3.2 (#30478)
parent
4d047b95
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+4
-4
4 additions, 4 deletions
Dockerfile
with
4 additions
and
4 deletions
Dockerfile
+
4
−
4
View file @
64d69eb9
...
@@ -7,22 +7,22 @@
...
@@ -7,22 +7,22 @@
ARG
TARGETPLATFORM=${TARGETPLATFORM}
ARG
TARGETPLATFORM=${TARGETPLATFORM}
ARG
BUILDPLATFORM=${BUILDPLATFORM}
ARG
BUILDPLATFORM=${BUILDPLATFORM}
# Ruby image to use for base image, change with [--build-arg RUBY_VERSION="3.3.
1
"]
# Ruby image to use for base image, change with [--build-arg RUBY_VERSION="3.3.
x
"]
ARG
RUBY_VERSION="3.3.
1
"
ARG
RUBY_VERSION="3.3.
2
"
# # Node version to use in base image, change with [--build-arg NODE_MAJOR_VERSION="20"]
# # Node version to use in base image, change with [--build-arg NODE_MAJOR_VERSION="20"]
ARG
NODE_MAJOR_VERSION="20"
ARG
NODE_MAJOR_VERSION="20"
# Debian image to use for base image, change with [--build-arg DEBIAN_VERSION="bookworm"]
# Debian image to use for base image, change with [--build-arg DEBIAN_VERSION="bookworm"]
ARG
DEBIAN_VERSION="bookworm"
ARG
DEBIAN_VERSION="bookworm"
# Node image to use for base image based on combined variables (ex: 20-bookworm-slim)
# Node image to use for base image based on combined variables (ex: 20-bookworm-slim)
FROM
docker.io/node:${NODE_MAJOR_VERSION}-${DEBIAN_VERSION}-slim
as
node
FROM
docker.io/node:${NODE_MAJOR_VERSION}-${DEBIAN_VERSION}-slim
as
node
# Ruby image to use for base image based on combined variables (ex: 3.3.
1
-slim-bookworm)
# Ruby image to use for base image based on combined variables (ex: 3.3.
x
-slim-bookworm)
FROM
docker.io/ruby:${RUBY_VERSION}-slim-${DEBIAN_VERSION}
as
ruby
FROM
docker.io/ruby:${RUBY_VERSION}-slim-${DEBIAN_VERSION}
as
ruby
# Resulting version string is vX.X.X-MASTODON_VERSION_PRERELEASE+MASTODON_VERSION_METADATA
# Resulting version string is vX.X.X-MASTODON_VERSION_PRERELEASE+MASTODON_VERSION_METADATA
# Example: v4.2.0-nightly.2023.11.09+something
# Example: v4.2.0-nightly.2023.11.09+something
# Overwrite existence of 'alpha.0' in version.rb [--build-arg MASTODON_VERSION_PRERELEASE="nightly.2023.11.09"]
# Overwrite existence of 'alpha.0' in version.rb [--build-arg MASTODON_VERSION_PRERELEASE="nightly.2023.11.09"]
ARG
MASTODON_VERSION_PRERELEASE=""
ARG
MASTODON_VERSION_PRERELEASE=""
# Append build metadata or fork information to version.rb [--build-arg MASTODON_VERSION_METADATA="
something
"]
# Append build metadata or fork information to version.rb [--build-arg MASTODON_VERSION_METADATA="
PR-12345
"]
ARG
MASTODON_VERSION_METADATA=""
ARG
MASTODON_VERSION_METADATA=""
# Allow Ruby on Rails to serve static files
# Allow Ruby on Rails to serve static files
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment