moby/contrib
Sebastiaan van Stijn f445ee1e6c
contrib/apparmor: remove remaining version-conditionals (< 2.9) from template
Commit 2e19a4d56b removed all other version-
conditional statements from the AppArmor template, but left this one in place.

These conditions were added in 8cf89245f5
to account for old versions of debian/ubuntu (apparmor_parser < 2.9)
that lacked some options;

> This allows us to use the apparmor profile we have in contrib/apparmor/
> and solves the problems where certain functions are not apparent on older
> versions of apparmor_parser on debian/ubuntu.

Those patches were from 2015/2016, and all currently supported distro
versions should now have more current versions than that. Looking at the
oldest supported versions;

Ubuntu 18.04 "Bionic":

    apparmor_parser --version
    AppArmor parser version 2.12
    Copyright (C) 1999-2008 Novell Inc.
    Copyright 2009-2012 Canonical Ltd.

Debian 10 "Buster"

    apparmor_parser --version
    AppArmor parser version 2.13.2
    Copyright (C) 1999-2008 Novell Inc.
    Copyright 2009-2018 Canonical Ltd.

This patch removes the remaining conditionals.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-05-08 13:17:59 +02:00
..
apparmor contrib/apparmor: remove remaining version-conditionals (< 2.9) from template 2023-05-08 13:17:59 +02:00
busybox integration: download busybox-w32 from GitHub Release 2022-10-24 19:11:16 +02:00
docker-device-tool Finish refactor of UID/GID usage to a new struct 2022-03-14 16:28:57 -04:00
gitdm run shfmt 2020-03-03 12:27:49 +09:00
httpserver linting: gosec: fix or suppress G112, G114 in test code 2022-09-04 15:36:51 +02:00
init fix debian sysvinit script fails to restart docker daemon when stopped 2022-09-11 10:09:34 +00:00
nnp-test Dockerfile: frozen images: update to bullseye, remove buildpack-dep 2021-08-20 18:23:06 +02:00
syntax Remove vim syntax files 2020-01-14 13:01:18 -04:00
syscall-test Dockerfile: frozen images: update to bullseye, remove buildpack-dep 2021-08-20 18:23:06 +02:00
udev Add udev rules files for hiding the docker loopback devices from udisks 2013-12-02 09:11:06 -07:00
check-config.sh check-config.sh: do not check for RT_GROUP_SCHED 2023-04-19 17:29:56 +02:00
dockerd-rootless-setuptool.sh docker-rootless-setuptools.sh: improve readability of messages 2023-04-06 14:12:20 +09:00
dockerd-rootless.sh Fix argument quoting bugs in dockerd-rootless.sh 2023-04-13 16:35:09 +02:00
dockerize-disk.sh contrib/dockerize-disk.sh: Fix indentation 2023-03-07 15:46:48 +01:00
download-frozen-image-v2.sh Dockerfile: variant support in frozen-images stage 2022-11-17 20:57:12 +01:00
editorconfig added editorconfig 2016-10-20 22:18:16 -02:00
mac-install-bundle.sh run shfmt 2020-03-03 12:27:49 +09:00
mkimage-alpine.sh run shfmt 2020-03-03 12:27:49 +09:00
mkimage-arch-pacman.conf mkimage-arch: provide and use own pacman.conf 2014-01-21 14:22:56 +01:00
mkimage-arch.sh run shfmt 2020-03-03 12:27:49 +09:00
mkimage-archarm-pacman.conf Fixed arm arch image maker to support arm versions other than 7 2016-07-10 18:46:35 -07:00
mkimage-crux.sh run shfmt 2020-03-03 12:27:49 +09:00
mkimage-pld.sh add script to make base image for PLD Linux 2016-05-31 09:20:51 +03:00
mkimage-yum.sh all: fix typos 2022-03-01 14:26:35 +08:00
nuke-graph-directory.sh Update contrib/nuke-graph-directory.sh 2021-04-09 10:05:35 +10:00
README.md Add .md extension to readme for markdown rendering 2016-02-24 20:39:46 +00:00

The contrib directory contains scripts, images, and other helpful things which are not part of the core docker distribution. Please note that they could be out of date, since they do not receive the same attention as the rest of the repository.