-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-emulation/docker: Bump v.20.10.17
- Loading branch information
Showing
3 changed files
with
111 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
prelude: | ||
- |- | ||
export FEATURES="-sandbox -usersandbox -ipc-sandbox -pid-sandbox -network-sandbox" && \ | ||
export JOBS={{ ( index .Values.labels "jobs" ) | default "3" }} && \ | ||
eval 'mkdir -p /var/cache/portage/distfiles || true' && \ | ||
chown portage:portage -R /var/cache/portage/ && \ | ||
{{- if .Values.use_flags }} | ||
USE="{{ join " " .Values.use_flags }}" emerge {{ ( index .Values.labels "emerge.packages" ) }} -pv -t && \ | ||
{{- else }} | ||
emerge -j ${JOBS} {{ ( index .Values.labels "emerge.packages" ) }} -pv -t && \ | ||
{{- end }} | ||
{{- if .Values.use_flags }} | ||
USE="{{ join " " .Values.use_flags }}" emerge -j ${JOBS} --nodeps {{ ( index .Values.labels "emerge.packages" ) }} | ||
{{- else }} | ||
emerge -j ${JOBS} --nodeps {{ ( index .Values.labels "emerge.packages" ) }} | ||
{{- end }} | ||
- export LUET_PORTAGE_CACHE_PACKAGES="/var/cache/portage/packages" && export LUET_PORTAGE_IGNORE_TAR_WARNING=1 | ||
&& export LUET_PORTAGE_PKGMETA=1 && export LUET_PORTAGE_PKGFILES=1 && eval 'rm -rf | ||
/pkgdir/ || true' && mkdir -p /pkgdir/{{ .Values.name }} && luet-portage --dir /pkgdir/{{ | ||
.Values.name }} {{ ( index .Values.labels "emerge.packages" ) }} && eval 'rm -v | ||
/var/cache/distfiles/* ${LUET_PORTAGE_CACHE_PACKAGES}/* || true' | ||
package_dir: /pkgdir/{{ .Values.name }} | ||
excludes: | ||
- ^/var/cache/portage/ | ||
- ^/var/git/ | ||
requires: | ||
- name: go-md2man | ||
version: '>=0' | ||
category: dev-go |
75 changes: 75 additions & 0 deletions
75
packages/atoms/emulation/app-emulation/docker/definition.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
name: docker | ||
version: 20.10.17 | ||
category: app-emulation | ||
use_flags: | ||
- -apparmor | ||
- -device-mapper | ||
- -seccomp | ||
- btrfs | ||
- cli | ||
- container-init | ||
- overlay | ||
requires: | ||
- name: xz-utils | ||
version: '>=0' | ||
category: app-arch | ||
- name: containerd | ||
version: '>=0' | ||
category: app-emulation | ||
- name: docker-cli | ||
version: '>=0' | ||
category: app-emulation | ||
- name: docker-proxy | ||
version: '>=0' | ||
category: app-emulation | ||
- name: sqlite | ||
version: '>=0' | ||
category: dev-db-3 | ||
- name: libltdl | ||
version: '>=0' | ||
category: dev-libs | ||
- name: git | ||
version: '>=0' | ||
category: dev-vcs | ||
- name: iptables | ||
version: '>=0' | ||
category: net-firewall | ||
- name: procps | ||
version: '>=0' | ||
category: sys-process | ||
- name: tini | ||
version: '>=0' | ||
category: sys-process | ||
- name: entities-catalog | ||
version: '>=0' | ||
category: macaroni | ||
annotations: | ||
subsets: | ||
rules: | ||
devel: | ||
- ^/usr/include/ | ||
portage: | ||
- ^/var/db/pkg/ | ||
description: The core functions you need to create Docker images and run Docker containers | ||
uri: | ||
- https://www.docker.com/ | ||
license: Apache-2.0 | ||
labels: | ||
BDEPEND: '>=dev-lang/go-1.16.12 dev-go/go-md2man virtual/pkgconfig >=dev-lang/go-1.10 | ||
virtual/pkgconfig virtual/pkgconfig' | ||
DEPEND: '>=dev-db/sqlite-3.7.9:3 apparmor? ( sys-libs/libapparmor ) btrfs? ( >=sys-fs/btrfs-progs-3.16.1 | ||
) device-mapper? ( >=sys-fs/lvm2-2.02.89[thin] ) seccomp? ( >=sys-libs/libseccomp-2.2.1 | ||
) sys-apps/shadow' | ||
IUSE: apparmor aufs btrfs +cli +container-init device-mapper hardened overlay seccomp | ||
kernel_linux | ||
RDEPEND: '>=dev-db/sqlite-3.7.9:3 apparmor? ( sys-libs/libapparmor ) btrfs? ( >=sys-fs/btrfs-progs-3.16.1 | ||
) device-mapper? ( >=sys-fs/lvm2-2.02.89[thin] ) seccomp? ( >=sys-libs/libseccomp-2.2.1 | ||
) >=net-firewall/iptables-1.4 sys-process/procps >=dev-vcs/git-1.7 >=app-arch/xz-utils-4.9 | ||
dev-libs/libltdl >=app-emulation/containerd-1.6.4[apparmor?,btrfs?,device-mapper?,seccomp?] | ||
~app-emulation/docker-proxy-0.8.0_p20220315 cli? ( ~app-emulation/docker-cli-20.10.17 | ||
) container-init? ( >=sys-process/tini-0.19.0[static] )' | ||
emerge.packages: app-emulation/docker | ||
kit: core-kit | ||
original.package.name: app-emulation/docker | ||
original.package.slot: "0" | ||
original.package.version: 20.10.17 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
shell: | ||
- /bin/bash | ||
- -c | ||
install: | ||
- entities merge --specs-dir /usr/share/macaroni/entities/ -e docker | ||
- eval 'mkdir /var/lib/docker -p || true' && eval 'chown root:docker /var/lib/docker | ||
|| true' |