Skip to content

Commit

Permalink
Use podman's seccomp.json when starting containers in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dkliban committed May 17, 2020
1 parent 5c6684c commit 2ff3c22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis/pre_before_install.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
set -mveuo pipefail

sudo apt -y install software-properties-common
sudo add-apt-repository -y ppa:projectatomic/ppa
sudo apt -y install podman

update_docker_configuration() {
echo "INFO:
Expand Down
1 change: 1 addition & 0 deletions .travis/start_container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
volumes: "{{ item.volumes | default(omit) }}"
env: "{{ item.env | default(omit) }}"
command: "{{ item.command | default(omit) }}"
security_opts: "seccomp=/usr/share/containers/seccomp.json"
state: started
loop: "{{ services | default([]) }}"

Expand Down

0 comments on commit 2ff3c22

Please sign in to comment.