mirror of
https://github.com/iv-org/inv_sig_helper.git
synced 2024-11-26 23:50:32 +00:00
4d3cff6a16
* add compose.yaml
* add Dockerfile
* update README
* Dockerfile: uncomment CMD instruction
* add .dockerignore
* Dockerfile: use scratch image for second stage
* Dockerfile: use newer OpenSSL version (3.0.9)
* Dockerfile: use Alpine-based Rust image to skip building OpenSSL
* Dockerfile: expose to localhost only by default
* Dockerfile: allow building for different architectures (AMD64 and ARM64)
Dockerfile now detects the architecture being used during the build process and templates in the correct Rust target architecture
* compose.yaml: include command line
* compose.yaml: listen on 127.0.0.1 only
* compose.yaml: remove healthcheck due to using scratch image
* README.md: restore old table format
* rename compose.yaml to docker-compose.yml
* docker-compose.yml: include version line
* update .dockerignore
* README.md: update Docker instructions to expose only on localhost
* add workflow to build and push container images to quay.io
* docker-compose.yml: harden configuration
* docker workflow: add paths-ignore section
* Dockerfile: let Rustup handle architecture detection
More flexible as the build process will now automatically adapt to whatever architecture the container is being built on, without needing to explicitly list out each supported architecture
* Docker: further security hardening
- Run as a non-privileged user within the scratch container
- Add security_opt: - no-new-privileges:true to docker-compose.yml
* Dockerfile: Switch to Debian-based images and simplify build command
- rust:1.80-alpine replaced with rust:1.80 for the builder stage
- alpine:3.20 replaced with debian:12.6-slim for the user-stage
- Build command simplified to use default target architecture
* Cargo.toml: correct note on optimisations
* docker-compose.yml: use quay.io image by default
* rename docker-compose.yml to docker-compose.yaml
* compose: build image from local repo by default
* Revert "Dockerfile: Switch to Debian-based images and simplify build command"
This reverts commit
|
||
---|---|---|
.. | ||
docker-build-push.yaml | ||
rust.yml |