mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
build(opensure): ensure docker build has apparmor-profiles.
This commit is contained in:
parent
d21af8246b
commit
33c78ea4cf
@ -100,7 +100,7 @@ build_in_docker_rpm() {
|
|||||||
docker pull "$BASEIMAGE/$dist"
|
docker pull "$BASEIMAGE/$dist"
|
||||||
docker run -tid --name "$img" --volume "$VOLUME:$BUILDIR" \
|
docker run -tid --name "$img" --volume "$VOLUME:$BUILDIR" \
|
||||||
"$BASEIMAGE/$dist"
|
"$BASEIMAGE/$dist"
|
||||||
docker exec "$img" sudo zypper install -y distribution-release golang-packaging rsync
|
docker exec "$img" sudo zypper install -y distribution-release golang-packaging rsync apparmor-profiles
|
||||||
fi
|
fi
|
||||||
|
|
||||||
docker exec --workdir="$BUILDIR/$PKGNAME" "$img" bash dists/build.sh rpm
|
docker exec --workdir="$BUILDIR/$PKGNAME" "$img" bash dists/build.sh rpm
|
||||||
|
Loading…
Reference in New Issue
Block a user