Skip to content

Commit

Permalink
Add gpg to Debian Docker image for our test
Browse files Browse the repository at this point in the history
We add gpg into our Docker image (and benefit from the cache effect)
instead of running molecule prepare step to install that.

This only concern the Debian image, because it's already available
on RockyLinux base image.
  • Loading branch information
Julian Vanden Broeck committed Jun 26, 2024
1 parent 9c9c5ea commit 8ff7ffe
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
2 changes: 1 addition & 1 deletion .config/molecule/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV DEBIAN_FRONTEND noninteractive

{% if item.image.startswith('debian') %}
RUN apt-get update \
&& apt-get install -y python3 sudo bash ca-certificates iproute2 python3-apt aptitude systemd systemd-sysv \
&& apt-get install -y python3 sudo bash ca-certificates iproute2 python3-apt aptitude systemd systemd-sysv gpg \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
{% else %}
Expand Down
1 change: 0 additions & 1 deletion molecule/apache/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
provisioner:
name: ansible
playbooks:
prepare: ../default/prepare.yml
verify: ../default/verify.yml
11 changes: 0 additions & 11 deletions molecule/default/prepare.yml

This file was deleted.

0 comments on commit 8ff7ffe

Please sign in to comment.