Skip to content

Commit

Permalink
add default seccomp.json to tar.
Browse files Browse the repository at this point in the history
Applying the image fix of #9 to the tar release as well in order to work around containers/podman#10556.
  • Loading branch information
mgoltzsche committed Jun 4, 2021
1 parent c81146b commit a8b41ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tar: .podman-from-container

.podman-from-container: podman
rm -rf $(BUILD_DIR)
mkdir -p $(BUILD_DIR)/etc $(BUILD_DIR)/usr/local/bin $(BUILD_DIR)/usr/libexec
mkdir -p $(BUILD_DIR)/etc $(BUILD_DIR)/usr/local/bin $(BUILD_DIR)/usr/libexec $(BUILD_DIR)/usr/share/containers
cp -r conf/containers $(BUILD_DIR)/etc/containers
cp -r conf/cni $(BUILD_DIR)/etc/cni
cp README.md $(BUILD_DIR)/
Expand All @@ -72,6 +72,7 @@ tar: .podman-from-container
done; \
$(DOCKER) cp $$CONTAINER:/usr/libexec/podman $(BUILD_DIR)/usr/libexec/podman; \
$(DOCKER) cp $$CONTAINER:/usr/libexec/cni $(BUILD_DIR)/usr/libexec/cni; \
$(DOCKER) cp $$CONTAINER:/usr/share/containers/seccomp.json $(BUILD_DIR)/usr/share/containers/seccomp.json; \
$(DOCKER) rm $$CONTAINER

signed-tar: tar .gpg
Expand Down

0 comments on commit a8b41ff

Please sign in to comment.