Add curl in ci image: adjust the registry name to the public instance
This commit is contained in:
parent
e65b334271
commit
65b2f9c0a8
3 changed files with 16 additions and 15 deletions
|
@ -1,7 +1,7 @@
|
|||
# Build: podman build -t localhost/python-ci -f Containerfile.ci
|
||||
FROM localhost/trixie_python
|
||||
# Build: podman build -t code.philo.ydns.eu/philorg/python-ci -f Containerfile.ci
|
||||
FROM code.philo.ydns.eu/philorg/trixie_python:latest
|
||||
|
||||
RUN apt-get -y --no-install-recommends install nodejs git python3-pytest python3-httpx buildah podman && \
|
||||
RUN apt-get -y --no-install-recommends install nodejs git python3-pytest python3-httpx buildah podman curl && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/listsd/* && \
|
||||
rm -rf /root/.cache
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Build: podman build -t trixie_python -f Containerfile.trixie_python
|
||||
# Build: podman build -t code.philo.ydns.eu/philorg/trixie_python -f Containerfile.trixie_python
|
||||
|
||||
FROM debian:trixie-slim
|
||||
FROM docker.io/debian:trixie-slim
|
||||
|
||||
RUN <<EOT
|
||||
apt-get update -qy
|
||||
|
|
|
@ -5,14 +5,15 @@
|
|||
force: false
|
||||
force_rm: false
|
||||
cache: false
|
||||
registry: tiptop:5000
|
||||
registry: code.philo.ydns.eu
|
||||
organisation: philorg
|
||||
|
||||
tasks:
|
||||
- name: Using the variables
|
||||
ansible.builtin.debug:
|
||||
var: force_rm
|
||||
|
||||
- name: Build the base image
|
||||
- name: Build the base image (trixie_python)
|
||||
containers.podman.podman_image:
|
||||
name: trixie_python
|
||||
state: build
|
||||
|
@ -25,7 +26,7 @@
|
|||
file: Containerfile.trixie_python
|
||||
push: true
|
||||
push_args:
|
||||
dest: "{{ registry }}/trixie_python"
|
||||
dest: "{{ registry }}/{{ organisation }}/trixie_python"
|
||||
|
||||
- name: Build the image for ci
|
||||
containers.podman.podman_image:
|
||||
|
@ -40,4 +41,4 @@
|
|||
file: Containerfile.ci
|
||||
push: true
|
||||
push_args:
|
||||
dest: "{{ registry }}/python-ci"
|
||||
dest: "{{ registry }}/{{ organisation }}/python-ci"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue