Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM jenkins/jenkins:2.414.2-jdk11
FROM jenkins/jenkins:2.555.1-lts
USER root
RUN apt-get update && apt-get install -y lsb-release python3-pip
RUN curl -fsSLo /usr/share/keyrings/docker-archive-keyring.asc \
Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pipeline {
echo "Building.."
sh '''
cd myapp
pip install -r requirements.txt
pip install --break-system-packages -r requirements.txt
'''
}
}
Expand Down
5 changes: 5 additions & 0 deletions agents/docker-agent-python/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM jenkins/agent:alpine-jdk21
USER root
RUN apk add python3
RUN apk add py3-pip
USER jenkins
2 changes: 1 addition & 1 deletion helloworld.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

print("Hello world")
print("Hello world!")
6 changes: 4 additions & 2 deletions myapp/hello.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import fire


def hello(name="World"):
return "Hello %s!" % name
return "Hello %s!" % name


if __name__ == '__main__':
fire.Fire(hello)
fire.Fire(hello)