Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
decker-image
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Robin Stecher
decker-image
Commits
a71b53c8
Unverified
Commit
a71b53c8
authored
3 months ago
by
Robby3St
Browse files
Options
Downloads
Patches
Plain Diff
feat{Dockerfile, .gitlab-ci}: add Debian image
parent
09d711f6
Branches
feat/debian
No related tags found
1 merge request
!1
feat{Dockerfile, .gitlab-ci}: add Debian image
Pipeline
#283483
passed
3 months ago
Stage: distribute
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+3
-3
3 additions, 3 deletions
.gitlab-ci.yml
Dockerfile
+22
-14
22 additions, 14 deletions
Dockerfile
with
25 additions
and
17 deletions
.gitlab-ci.yml
+
3
−
3
View file @
a71b53c8
...
...
@@ -2,8 +2,8 @@ stages:
-
distribute
distribute
:
only
:
-
main
#
only:
#
- main
stage
:
distribute
image
:
name
:
gcr.io/kaniko-project/executor:debug
...
...
@@ -15,5 +15,5 @@ distribute:
/kaniko/executor
--context "${CI_PROJECT_DIR}"
--dockerfile "${CI_PROJECT_DIR}/Dockerfile"
--destination "${CI_REGISTRY_IMAGE}:1.0.
2
"
--destination "${CI_REGISTRY_IMAGE}:1.0.
3
"
This diff is collapsed.
Click to expand it.
Dockerfile
+
22
−
14
View file @
a71b53c8
FROM
ubuntu:24.04
FROM
debian:12
AS
debian-glibc-2.38
# Install Google Chrome
RUN
apt-get
install
-y
wget
curl
ENV
DEBIAN_FRONTEND noninteractive
RUN
wget
-q
-O
- https://dl.google.com/linux/linux_signing_key.pub |
sudo
apt-key add -
RUN
sh
-c
'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
RUN
apt-get update
RUN
apt-get
install
-y
google-chrome-stable
RUN
apt-get update
&&
apt-get upgrade
-y
&&
apt-get
install
-y
\
curl
\
wget
\
build-essential
\
gawk
\
bison
\
python3
# Download and install Google Chrome
RUN
curl
-LO
https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
&&
\
apt-get update
&&
apt-get
install
-y
./google-chrome-stable_current_amd64.deb
||
apt-get
install
-fy
&&
\
rm
google-chrome-stable_current_amd64.deb
RUN
mkdir
$HOME
/glibc/
&&
cd
$HOME
/glibc
&&
\
wget http://ftp.gnu.org/gnu/libc/glibc-2.38.tar.gz
&&
\
tar
-xvzf
glibc-2.38.tar.gz
&&
\
mkdir
build
&&
\
mkdir
glibc-2.38-install
&&
\
cd
build
&&
\
~/glibc/glibc-2.38/configure
--prefix
=
$HOME
/glibc/glibc-2.38-install
&&
\
make
&&
\
make
install
FROM
debian-glibc-2.38
AS
decker
# Install Decker
WORKDIR
/usr/local/bin
RUN
curl
-L
-o
decker https://github.com/decker-edu/decker/releases/download/latest/decker-latest-Linux-X64-
3f4150d61ca167361b02665da969da769ca98e7c
RUN
curl
-L
-o
decker https://github.com/decker-edu/decker/releases/download/latest/decker-latest-Linux-X64-
c6061d1f99075ffbc2b72e6922aa559058951327
RUN
chmod
+x decker
# Add a working directory
WORKDIR
/
RUN
mkdir
app
#
RUN mkdir app
WORKDIR
/app
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