Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Engineering Digital Service
Metabase
Commits
35a6544b
Unverified
Commit
35a6544b
authored
9 months ago
by
Anton Kostenko
Committed by
GitHub
9 months ago
Browse files
Options
Downloads
Patches
Plain Diff
Add Git repo SHA to the final image for future tracking (#43260)
parent
cd53c8af
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.github/workflows/uberjar.yml
+4
-0
4 additions, 0 deletions
.github/workflows/uberjar.yml
bin/docker/Dockerfile
+3
-0
3 additions, 0 deletions
bin/docker/Dockerfile
bin/docker/Dockerfile_ubuntu
+3
-0
3 additions, 0 deletions
bin/docker/Dockerfile_ubuntu
with
10 additions
and
0 deletions
.github/workflows/uberjar.yml
+
4
−
0
View file @
35a6544b
...
...
@@ -116,6 +116,8 @@ jobs:
platforms
:
linux/amd64
network
:
host
tags
:
localhost:5000/metabase-dev:${{ steps.extract_branch.outputs.branch }}-${{ matrix.edition }}
build-args
:
|
GIT_COMMIT_SHA=${{ github.sha }}
no-cache
:
true
push
:
true
-
name
:
Launch ${{ matrix.edition }} container
...
...
@@ -240,6 +242,8 @@ jobs:
file
:
bin/docker/Dockerfile_ubuntu
network
:
host
tags
:
localhost:5000/metabase-dev:${{ steps.extract_branch.outputs.branch }}-${{ matrix.edition }}-ubuntu
build-args
:
|
GIT_COMMIT_SHA=${{ github.sha }}
no-cache
:
true
push
:
true
-
name
:
Launch ${{ matrix.edition }} Ubuntu based container
...
...
This diff is collapsed.
Click to expand it.
bin/docker/Dockerfile
+
3
−
0
View file @
35a6544b
...
...
@@ -2,6 +2,9 @@ FROM --platform=linux/amd64 eclipse-temurin:11-jre-alpine
ENV
FC_LANG=en-US LC_CTYPE=en_US.UTF-8
ARG
GIT_COMMIT_SHA
ENV
GIT_COMMIT_SHA=${GIT_COMMIT_SHA}
# dependencies
RUN
apk add
-U
bash fontconfig curl font-noto font-noto-arabic font-noto-hebrew font-noto-cjk java-cacerts
&&
\
apk upgrade
&&
\
...
...
This diff is collapsed.
Click to expand it.
bin/docker/Dockerfile_ubuntu
+
3
−
0
View file @
35a6544b
...
...
@@ -2,6 +2,9 @@ FROM eclipse-temurin:11-jre-jammy as runner
ENV FC_LANG=en-US LC_CTYPE=en_US.UTF-8
ARG GIT_COMMIT_SHA
ENV GIT_COMMIT_SHA=${GIT_COMMIT_SHA}
# Dependencies
RUN apt-get update && \
apt-get upgrade -y && \
...
...
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