18 Commits

Author SHA1 Message Date
vittring def5e6722c Slim down Dockerfile and apply deps upgrades
This is a combo patch for both the Dockerfile and the Poetry lockfile.
Simplify Poetry installation in Docker image.

* docker/Dockerfile:

 set `ARG PYTHON_VERSION` to 3.10
 use `${PYTHON_VERSION}-slim-bullseye` as builder from now on
 cleanup `RUN` where we install dependencies for the image
 cleanup `RUN` where we install Poetry:
 update to Poetry 1.2.1 from 1.1.14
 keep magic - we like magic - but simplify the installation

This should make installation easier on everyone by explicitly stating
cache location for pip and installing as, yes, root. Installing as user
`venom` is too complicated and this Dockerfile *should* be safe as-is
even running as root. There are still ways to harden to image that don't
require huge lines to add a user environment and it's less hacky this way.

* docker/README:

 specify `Yggdrasil` as tag
 docker trust no longer functions as expected; remove instructions
 building as newly defined tag still works, pull from the hub or build local

* poetry.lock:

  Package operations: 0 installs, 8 updates, 0 removals

  • Updating idna (3.3 -> 3.4)
  • Updating attrs (21.4.0 -> 22.1.0)
  • Updating certifi (2022.6.15 -> 2022.9.24)
  • Updating pytz (2022.1 -> 2022.4)
  • Updating urllib3 (1.26.11 -> 1.26.12)
  • Updating aiohttp (3.8.1 -> 3.8.3)
  • Updating datetime (4.5 -> 4.7)
  • Updating tqdm (4.64.0 -> 4.64.1)

Signed-off-by: vittring <scissortail@riseup.net>
2022-10-05 02:26:49 -04:00
vittring 1bbe8a3288 Update docker/Dockerfile: cleanup
Signed-off-by: vittring <scissortail@riseup.net>
2022-08-14 22:53:37 -04:00
vittring 34f4c2fc76 Update docker/Dockerfile: bump Poetry version >=1.1.14
Signed-off-by: vittring <scissortail@riseup.net>
2022-08-14 22:42:01 -04:00
vittring aebbe92ca9 Update docker/Dockerfile 2022-08-14 22:11:58 -04:00
Katt Stof be3c0e9b02 Update Dockerfile 2022-08-14 13:13:08 -05:00
vittring f954e3f668 docker/README.md: fix duplicate line 2022-05-25 18:34:44 -04:00
vittring 7a92149b5b docker/Dockerfile: update Poetry version 2022-05-25 18:31:42 -04:00
vittring 399adceea2 docker/README.md: fix inline warning 2022-05-25 18:25:06 -04:00
vittring c4bc3711c7 Docker: use prerelease for Poetry 2022-04-27 04:10:20 -04:00
vittring 48cdd163b3 Auto commit 2022-04-26 07:48:56 -04:00
vittring 40ddf7ba8d Set Dockerfile to track upstream 2022-04-24 23:17:56 -04:00
vittring ce0b6f4dab Auto commit
Signed-off-by: vittring <scissortail@riseup.net>
2022-04-24 05:03:26 -04:00
vittring 777b6e2876 Update Dockerfile README.md 2022-04-01 10:15:20 -04:00
vittring e783de1e53 Update Dockerfile README.md 2022-04-01 10:14:44 -04:00
snyk-bot b75315604a fix: docker/Dockerfile to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-DEBIAN11-OPENSSL-2388380
- https://snyk.io/vuln/SNYK-DEBIAN11-OPENSSL-2388380
- https://snyk.io/vuln/SNYK-DEBIAN11-OPENSSL-2426309
- https://snyk.io/vuln/SNYK-DEBIAN11-OPENSSL-2426309
- https://snyk.io/vuln/SNYK-DEBIAN11-ZLIB-2433933
2022-03-27 06:52:33 +00:00
vittring 4eeee1e66b Add CCTV [WIP] details in README 2022-03-12 01:53:15 -05:00
vittring 9031d59006 Harden docker/Dockerfile
- Don't run venom as root, setup CHROOT and false shell, harden against LPE
- Protect against mounting filesystems of host
2022-02-06 09:25:25 -05:00
vittring bfdd212287 Move Docker image to docker/ folder 2022-02-05 21:28:33 -05:00