diff options
author | Mathijs van Veluw <[email protected]> | 2023-10-23 00:18:38 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2023-10-23 00:18:38 +0200 |
commit | d722328f05f65910e00d01c7b156d30ab9ac8986 (patch) | |
tree | 9c193bd2deea807592efb58c48dfa7f7165e6bc8 /docker/Makefile | |
parent | cb4b683dcd51eff4508bcf50e34d657b8d2225d4 (diff) | |
download | vaultwarden-d722328f05f65910e00d01c7b156d30ab9ac8986.tar.gz vaultwarden-d722328f05f65910e00d01c7b156d30ab9ac8986.zip |
Container building changes (#3958)
* WIP: Container building changes
* Small updates
- Updated to rust 1.73.0
- Updated crates
- Updated documentation
- Added a bake.sh script to make baking easier
* Update GitHub Actions Workflow
- Updated workflow to use qemu and buildx bake
In the future i would like to extract the alpine based binaries and add
them as artifacts to the release.
* Address review remarks and small updates
- Addressed review remarks
- Added `podman-bake.sh` script to build Vaultwarden with podman
- Updated README
- Updated crates
- Added `VW_VERSION` support
- Added annotations
- Updated web-vault to v2023.9.1
Diffstat (limited to 'docker/Makefile')
-rw-r--r-- | docker/Makefile | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/docker/Makefile b/docker/Makefile index d7c0ab80..e8c0760a 100644 --- a/docker/Makefile +++ b/docker/Makefile @@ -1,15 +1,4 @@ -OBJECTS := $(shell find ./ -mindepth 2 -name 'Dockerfile*') - -all: $(OBJECTS) - -%/Dockerfile: Dockerfile.j2 render_template - ./render_template "$<" "{\"target_file\":\"$@\"}" > "$@" - -%/Dockerfile.alpine: Dockerfile.j2 render_template - ./render_template "$<" "{\"target_file\":\"$@\"}" > "$@" - -%/Dockerfile.buildkit: Dockerfile.j2 render_template - ./render_template "$<" "{\"target_file\":\"$@\"}" > "$@" - -%/Dockerfile.buildkit.alpine: Dockerfile.j2 render_template - ./render_template "$<" "{\"target_file\":\"$@\"}" > "$@" +all: + ./render_template Dockerfile.j2 '{"base": "debian"}' > Dockerfile.debian + ./render_template Dockerfile.j2 '{"base": "alpine"}' > Dockerfile.alpine +.PHONY: all |