Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
common-lib
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
OZG-Cloud
lib
common-lib
Commits
973bcccc
Commit
973bcccc
authored
2 years ago
by
OZGCloud
Browse files
Options
Downloads
Patches
Plain Diff
OZG-3357 add jenkins-lasttest-agent dockerfile
parent
5ce6d2b1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
jenkins/jenkins-lasttest-agent/Dockerfile
+28
-0
28 additions, 0 deletions
jenkins/jenkins-lasttest-agent/Dockerfile
jenkins/jenkins-lasttest-agent/readme.md
+7
-0
7 additions, 0 deletions
jenkins/jenkins-lasttest-agent/readme.md
with
35 additions
and
0 deletions
jenkins/jenkins-lasttest-agent/Dockerfile
0 → 100644
+
28
−
0
View file @
973bcccc
FROM
ubuntu:22.04
ARG
K6_VERSION=v0.42.0
ARG
OPENJDK_VERSION=17
ARG
KUBECTL_VERSION=v1.25.0
ENV
LANG C.UTF-8
RUN
apt update
\
&&
apt upgrade
-y
\
&&
apt
install
-y
\
git
\
openjdk-
${
OPENJDK_VERSION
}
-jdk
\
wget
\
openssh-server
RUN
wget https://github.com/grafana/k6/releases/download/
${
K6_VERSION
}
/k6-
${
K6_VERSION
}
-linux-amd64
.tar.gz
-O
/tmp/k6.tar.gz
\
&&
tar
-xzf
/tmp/k6.tar.gz
-C
/usr/share
--strip-components
=
1
\
&&
ln
-s
/usr/share/k6 /usr/bin/k6
RUN
wget https://dl.k8s.io/release/
${
KUBECTL_VERSION
}
/bin/linux/amd64/kubectl
-O
/usr/local/bin/kubectl
\
&&
chmod
755 /usr/local/bin/kubectl
RUN
mkdir
/run/sshd
EXPOSE
22
CMD
["/usr/sbin/sshd", "-D"]
\ No newline at end of file
This diff is collapsed.
Click to expand it.
jenkins/jenkins-lasttest-agent/readme.md
0 → 100644
+
7
−
0
View file @
973bcccc
# Image bauen
`docker build -t docker.ozg-sh.de/jenkins-lasttest-agent:v0.42.0-kubectl .`
# push
`docker push docker.ozg-sh.de/jenkins-lasttest-agent:v0.42.0-kubectl`
\ No newline at end of file
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