Daniel García
5 years ago
No known key found for this signature in database
GPG Key ID: FC8A7D14C3CD543A
13 changed files with
52 additions and
52 deletions
-
docker/Dockerfile.j2
-
docker/aarch64/mysql/Dockerfile
-
docker/aarch64/sqlite/Dockerfile
-
docker/amd64/mysql/Dockerfile
-
docker/amd64/mysql/Dockerfile.alpine
-
docker/amd64/postgresql/Dockerfile
-
docker/amd64/postgresql/Dockerfile.alpine
-
docker/amd64/sqlite/Dockerfile
-
docker/amd64/sqlite/Dockerfile.alpine
-
docker/armv6/mysql/Dockerfile
-
docker/armv6/sqlite/Dockerfile
-
docker/armv7/mysql/Dockerfile
-
docker/armv7/sqlite/Dockerfile
|
|
@ -27,17 +27,17 @@ |
|
|
|
# https://docs.docker.com/develop/develop-images/multistage-build/ |
|
|
|
# https://whitfin.io/speeding-up-rust-docker-builds/ |
|
|
|
####################### VAULT BUILD IMAGE ####################### |
|
|
|
{% set vault_image_hash = "sha256:f32c555a2bc3ee6bc0718319b1e8057c10ef889cf7231f0ff217af98486da554" %} |
|
|
|
{% set vault_image_hash = "sha256:c62e0b8698562e03fe2759374f3ecd760d9612e4eaf0af4583f231ebf05d6df5" %} |
|
|
|
{% raw %} |
|
|
|
# This hash is extracted from the docker web-vault builds and it's prefered over a simple tag because it's immutable. |
|
|
|
# It can be viewed in multiple ways: |
|
|
|
# - From the https://hub.docker.com/repository/docker/bitwardenrs/web-vault/tags page, click the tag name and the digest should be there. |
|
|
|
# - From the console, with the following commands: |
|
|
|
# docker pull bitwardenrs/web-vault:v2.13.2b |
|
|
|
# docker image inspect --format "{{.RepoDigests}}" bitwardenrs/web-vault:v2.13.2b |
|
|
|
# docker pull bitwardenrs/web-vault:v2.14.0 |
|
|
|
# docker image inspect --format "{{.RepoDigests}}" bitwardenrs/web-vault:v2.14.0 |
|
|
|
# |
|
|
|
# - To do the opposite, and get the tag from the hash, you can do: |
|
|
|
# docker image inspect --format "{{.RepoTags}}" bitwardenrs/web-vault@sha256:f32c555a2bc3ee6bc0718319b1e8057c10ef889cf7231f0ff217af98486da554 |
|
|
|
# docker image inspect --format "{{.RepoTags}}" bitwardenrs/web-vault@sha256:c62e0b8698562e03fe2759374f3ecd760d9612e4eaf0af4583f231ebf05d6df5 |
|
|
|
{% endraw %} |
|
|
|
FROM bitwardenrs/web-vault@{{ vault_image_hash }} as vault |
|
|
|
|
|
|
|
|
|
@ -10,12 +10,12 @@ |
|
|
|
# It can be viewed in multiple ways: |
|
|
|
# - From the https://hub.docker.com/repository/docker/bitwardenrs/web-vault/tags page, click the tag name and the digest should be there. |
|
|
|
# - From the console, with the following commands: |
|
|
|
# docker pull bitwardenrs/web-vault:v2.13.2b |
|
|
|
# docker image inspect --format "{{.RepoDigests}}" bitwardenrs/web-vault:v2.13.2b |
|
|
|
# docker pull bitwardenrs/web-vault:v2.14.0 |
|
|
|
# docker image inspect --format "{{.RepoDigests}}" bitwardenrs/web-vault:v2.14.0 |
|
|
|
# |
|
|
|
# - To do the opposite, and get the tag from the hash, you can do: |
|
|
|
# docker image inspect --format "{{.RepoTags}}" bitwardenrs/web-vault@sha256:f32c555a2bc3ee6bc0718319b1e8057c10ef889cf7231f0ff217af98486da554 |
|
|
|
FROM bitwardenrs/web-vault@sha256:f32c555a2bc3ee6bc0718319b1e8057c10ef889cf7231f0ff217af98486da554 as vault |
|
|
|
# docker image inspect --format "{{.RepoTags}}" bitwardenrs/web-vault@sha256:c62e0b8698562e03fe2759374f3ecd760d9612e4eaf0af4583f231ebf05d6df5 |
|
|
|
FROM bitwardenrs/web-vault@sha256:c62e0b8698562e03fe2759374f3ecd760d9612e4eaf0af4583f231ebf05d6df5 as vault |
|
|
|
|
|
|
|
########################## BUILD IMAGE ########################## |
|
|
|
# We need to use the Rust build image, because |
|
|
|
|
|
@ -10,12 +10,12 @@ |
|
|
|
# It can be viewed in multiple ways: |
|
|
|
# - From the https://hub.docker.com/repository/docker/bitwardenrs/web-vault/tags page, click the tag name and the digest should be there. |
|
|
|
# - From the console, with the following commands: |
|
|
|
# docker pull bitwardenrs/web-vault:v2.13.2b |
|
|
|
# docker image inspect --format "{{.RepoDigests}}" bitwardenrs/web-vault:v2.13.2b |
|
|
|
# docker pull bitwardenrs/web-vault:v2.14.0 |
|
|
|
# docker image inspect --format "{{.RepoDigests}}" bitwardenrs/web-vault:v2.14.0 |
|
|
|
# |
|
|
|
# - To do the opposite, and get the tag from the hash, you can do: |
|
|
|
# docker image inspect --format "{{.RepoTags}}" bitwardenrs/web-vault@sha256:f32c555a2bc3ee6bc0718319b1e8057c10ef889cf7231f0ff217af98486da554 |
|
|
|
FROM bitwardenrs/web-vault@sha256:f32c555a2bc3ee6bc0718319b1e8057c10ef889cf7231f0ff217af98486da554 as vault |
|
|
|
# docker image inspect --format "{{.RepoTags}}" bitwardenrs/web-vault@sha256:c62e0b8698562e03fe2759374f3ecd760d9612e4eaf0af4583f231ebf05d6df5 |
|
|
|
FROM bitwardenrs/web-vault@sha256:c62e0b8698562e03fe2759374f3ecd760d9612e4eaf0af4583f231ebf05d6df5 as vault |
|
|
|
|
|
|
|
########################## BUILD IMAGE ########################## |
|
|
|
# We need to use the Rust build image, because |
|
|
|
|
|
@ -10,12 +10,12 @@ |
|
|
|
# It can be viewed in multiple ways: |
|
|
|
# - From the https://hub.docker.com/repository/docker/bitwardenrs/web-vault/tags page, click the tag name and the digest should be there. |
|
|
|
# - From the console, with the following commands: |
|
|
|
# docker pull bitwardenrs/web-vault:v2.13.2b |
|
|
|
# docker image inspect --format "{{.RepoDigests}}" bitwardenrs/web-vault:v2.13.2b |
|
|
|
# docker pull bitwardenrs/web-vault:v2.14.0 |
|
|
|
# docker image inspect --format "{{.RepoDigests}}" bitwardenrs/web-vault:v2.14.0 |
|
|
|
# |
|
|
|
# - To do the opposite, and get the tag from the hash, you can do: |
|
|
|
# docker image inspect --format "{{.RepoTags}}" bitwardenrs/web-vault@sha256:f32c555a2bc3ee6bc0718319b1e8057c10ef889cf7231f0ff217af98486da554 |
|
|
|
FROM bitwardenrs/web-vault@sha256:f32c555a2bc3ee6bc0718319b1e8057c10ef889cf7231f0ff217af98486da554 as vault |
|
|
|
# docker image inspect --format "{{.RepoTags}}" bitwardenrs/web-vault@sha256:c62e0b8698562e03fe2759374f3ecd760d9612e4eaf0af4583f231ebf05d6df5 |
|
|
|
FROM bitwardenrs/web-vault@sha256:c62e0b8698562e03fe2759374f3ecd760d9612e4eaf0af4583f231ebf05d6df5 as vault |
|
|
|
|
|
|
|
########################## BUILD IMAGE ########################## |
|
|
|
# We need to use the Rust build image, because |
|
|
|
|
|
@ -10,12 +10,12 @@ |
|
|
|
# It can be viewed in multiple ways: |
|
|
|
# - From the https://hub.docker.com/repository/docker/bitwardenrs/web-vault/tags page, click the tag name and the digest should be there. |
|
|
|
# - From the console, with the following commands: |
|
|
|
# docker pull bitwardenrs/web-vault:v2.13.2b |
|
|
|
# docker image inspect --format "{{.RepoDigests}}" bitwardenrs/web-vault:v2.13.2b |
|
|
|
# docker pull bitwardenrs/web-vault:v2.14.0 |
|
|
|
# docker image inspect --format "{{.RepoDigests}}" bitwardenrs/web-vault:v2.14.0 |
|
|
|
# |
|
|
|
# - To do the opposite, and get the tag from the hash, you can do: |
|
|
|
# docker image inspect --format "{{.RepoTags}}" bitwardenrs/web-vault@sha256:f32c555a2bc3ee6bc0718319b1e8057c10ef889cf7231f0ff217af98486da554 |
|
|
|
FROM bitwardenrs/web-vault@sha256:f32c555a2bc3ee6bc0718319b1e8057c10ef889cf7231f0ff217af98486da554 as vault |
|
|
|
# docker image inspect --format "{{.RepoTags}}" bitwardenrs/web-vault@sha256:c62e0b8698562e03fe2759374f3ecd760d9612e4eaf0af4583f231ebf05d6df5 |
|
|
|
FROM bitwardenrs/web-vault@sha256:c62e0b8698562e03fe2759374f3ecd760d9612e4eaf0af4583f231ebf05d6df5 as vault |
|
|
|
|
|
|
|
########################## BUILD IMAGE ########################## |
|
|
|
# Musl build image for statically compiled binary |
|
|
|
|
|
@ -10,12 +10,12 @@ |
|
|
|
# It can be viewed in multiple ways: |
|
|
|
# - From the https://hub.docker.com/repository/docker/bitwardenrs/web-vault/tags page, click the tag name and the digest should be there. |
|
|
|
# - From the console, with the following commands: |
|
|
|
# docker pull bitwardenrs/web-vault:v2.13.2b |
|
|
|
# docker image inspect --format "{{.RepoDigests}}" bitwardenrs/web-vault:v2.13.2b |
|
|
|
# docker pull bitwardenrs/web-vault:v2.14.0 |
|
|
|
# docker image inspect --format "{{.RepoDigests}}" bitwardenrs/web-vault:v2.14.0 |
|
|
|
# |
|
|
|
# - To do the opposite, and get the tag from the hash, you can do: |
|
|
|
# docker image inspect --format "{{.RepoTags}}" bitwardenrs/web-vault@sha256:f32c555a2bc3ee6bc0718319b1e8057c10ef889cf7231f0ff217af98486da554 |
|
|
|
FROM bitwardenrs/web-vault@sha256:f32c555a2bc3ee6bc0718319b1e8057c10ef889cf7231f0ff217af98486da554 as vault |
|
|
|
# docker image inspect --format "{{.RepoTags}}" bitwardenrs/web-vault@sha256:c62e0b8698562e03fe2759374f3ecd760d9612e4eaf0af4583f231ebf05d6df5 |
|
|
|
FROM bitwardenrs/web-vault@sha256:c62e0b8698562e03fe2759374f3ecd760d9612e4eaf0af4583f231ebf05d6df5 as vault |
|
|
|
|
|
|
|
########################## BUILD IMAGE ########################## |
|
|
|
# We need to use the Rust build image, because |
|
|
|
|
|
@ -10,12 +10,12 @@ |
|
|
|
# It can be viewed in multiple ways: |
|
|
|
# - From the https://hub.docker.com/repository/docker/bitwardenrs/web-vault/tags page, click the tag name and the digest should be there. |
|
|
|
# - From the console, with the following commands: |
|
|
|
# docker pull bitwardenrs/web-vault:v2.13.2b |
|
|
|
# docker image inspect --format "{{.RepoDigests}}" bitwardenrs/web-vault:v2.13.2b |
|
|
|
# docker pull bitwardenrs/web-vault:v2.14.0 |
|
|
|
# docker image inspect --format "{{.RepoDigests}}" bitwardenrs/web-vault:v2.14.0 |
|
|
|
# |
|
|
|
# - To do the opposite, and get the tag from the hash, you can do: |
|
|
|
# docker image inspect --format "{{.RepoTags}}" bitwardenrs/web-vault@sha256:f32c555a2bc3ee6bc0718319b1e8057c10ef889cf7231f0ff217af98486da554 |
|
|
|
FROM bitwardenrs/web-vault@sha256:f32c555a2bc3ee6bc0718319b1e8057c10ef889cf7231f0ff217af98486da554 as vault |
|
|
|
# docker image inspect --format "{{.RepoTags}}" bitwardenrs/web-vault@sha256:c62e0b8698562e03fe2759374f3ecd760d9612e4eaf0af4583f231ebf05d6df5 |
|
|
|
FROM bitwardenrs/web-vault@sha256:c62e0b8698562e03fe2759374f3ecd760d9612e4eaf0af4583f231ebf05d6df5 as vault |
|
|
|
|
|
|
|
########################## BUILD IMAGE ########################## |
|
|
|
# Musl build image for statically compiled binary |
|
|
|
|
|
@ -10,12 +10,12 @@ |
|
|
|
# It can be viewed in multiple ways: |
|
|
|
# - From the https://hub.docker.com/repository/docker/bitwardenrs/web-vault/tags page, click the tag name and the digest should be there. |
|
|
|
# - From the console, with the following commands: |
|
|
|
# docker pull bitwardenrs/web-vault:v2.13.2b |
|
|
|
# docker image inspect --format "{{.RepoDigests}}" bitwardenrs/web-vault:v2.13.2b |
|
|
|
# docker pull bitwardenrs/web-vault:v2.14.0 |
|
|
|
# docker image inspect --format "{{.RepoDigests}}" bitwardenrs/web-vault:v2.14.0 |
|
|
|
# |
|
|
|
# - To do the opposite, and get the tag from the hash, you can do: |
|
|
|
# docker image inspect --format "{{.RepoTags}}" bitwardenrs/web-vault@sha256:f32c555a2bc3ee6bc0718319b1e8057c10ef889cf7231f0ff217af98486da554 |
|
|
|
FROM bitwardenrs/web-vault@sha256:f32c555a2bc3ee6bc0718319b1e8057c10ef889cf7231f0ff217af98486da554 as vault |
|
|
|
# docker image inspect --format "{{.RepoTags}}" bitwardenrs/web-vault@sha256:c62e0b8698562e03fe2759374f3ecd760d9612e4eaf0af4583f231ebf05d6df5 |
|
|
|
FROM bitwardenrs/web-vault@sha256:c62e0b8698562e03fe2759374f3ecd760d9612e4eaf0af4583f231ebf05d6df5 as vault |
|
|
|
|
|
|
|
########################## BUILD IMAGE ########################## |
|
|
|
# We need to use the Rust build image, because |
|
|
|
|
|
@ -10,12 +10,12 @@ |
|
|
|
# It can be viewed in multiple ways: |
|
|
|
# - From the https://hub.docker.com/repository/docker/bitwardenrs/web-vault/tags page, click the tag name and the digest should be there. |
|
|
|
# - From the console, with the following commands: |
|
|
|
# docker pull bitwardenrs/web-vault:v2.13.2b |
|
|
|
# docker image inspect --format "{{.RepoDigests}}" bitwardenrs/web-vault:v2.13.2b |
|
|
|
# docker pull bitwardenrs/web-vault:v2.14.0 |
|
|
|
# docker image inspect --format "{{.RepoDigests}}" bitwardenrs/web-vault:v2.14.0 |
|
|
|
# |
|
|
|
# - To do the opposite, and get the tag from the hash, you can do: |
|
|
|
# docker image inspect --format "{{.RepoTags}}" bitwardenrs/web-vault@sha256:f32c555a2bc3ee6bc0718319b1e8057c10ef889cf7231f0ff217af98486da554 |
|
|
|
FROM bitwardenrs/web-vault@sha256:f32c555a2bc3ee6bc0718319b1e8057c10ef889cf7231f0ff217af98486da554 as vault |
|
|
|
# docker image inspect --format "{{.RepoTags}}" bitwardenrs/web-vault@sha256:c62e0b8698562e03fe2759374f3ecd760d9612e4eaf0af4583f231ebf05d6df5 |
|
|
|
FROM bitwardenrs/web-vault@sha256:c62e0b8698562e03fe2759374f3ecd760d9612e4eaf0af4583f231ebf05d6df5 as vault |
|
|
|
|
|
|
|
########################## BUILD IMAGE ########################## |
|
|
|
# Musl build image for statically compiled binary |
|
|
|
|
|
@ -10,12 +10,12 @@ |
|
|
|
# It can be viewed in multiple ways: |
|
|
|
# - From the https://hub.docker.com/repository/docker/bitwardenrs/web-vault/tags page, click the tag name and the digest should be there. |
|
|
|
# - From the console, with the following commands: |
|
|
|
# docker pull bitwardenrs/web-vault:v2.13.2b |
|
|
|
# docker image inspect --format "{{.RepoDigests}}" bitwardenrs/web-vault:v2.13.2b |
|
|
|
# docker pull bitwardenrs/web-vault:v2.14.0 |
|
|
|
# docker image inspect --format "{{.RepoDigests}}" bitwardenrs/web-vault:v2.14.0 |
|
|
|
# |
|
|
|
# - To do the opposite, and get the tag from the hash, you can do: |
|
|
|
# docker image inspect --format "{{.RepoTags}}" bitwardenrs/web-vault@sha256:f32c555a2bc3ee6bc0718319b1e8057c10ef889cf7231f0ff217af98486da554 |
|
|
|
FROM bitwardenrs/web-vault@sha256:f32c555a2bc3ee6bc0718319b1e8057c10ef889cf7231f0ff217af98486da554 as vault |
|
|
|
# docker image inspect --format "{{.RepoTags}}" bitwardenrs/web-vault@sha256:c62e0b8698562e03fe2759374f3ecd760d9612e4eaf0af4583f231ebf05d6df5 |
|
|
|
FROM bitwardenrs/web-vault@sha256:c62e0b8698562e03fe2759374f3ecd760d9612e4eaf0af4583f231ebf05d6df5 as vault |
|
|
|
|
|
|
|
########################## BUILD IMAGE ########################## |
|
|
|
# We need to use the Rust build image, because |
|
|
|
|
|
@ -10,12 +10,12 @@ |
|
|
|
# It can be viewed in multiple ways: |
|
|
|
# - From the https://hub.docker.com/repository/docker/bitwardenrs/web-vault/tags page, click the tag name and the digest should be there. |
|
|
|
# - From the console, with the following commands: |
|
|
|
# docker pull bitwardenrs/web-vault:v2.13.2b |
|
|
|
# docker image inspect --format "{{.RepoDigests}}" bitwardenrs/web-vault:v2.13.2b |
|
|
|
# docker pull bitwardenrs/web-vault:v2.14.0 |
|
|
|
# docker image inspect --format "{{.RepoDigests}}" bitwardenrs/web-vault:v2.14.0 |
|
|
|
# |
|
|
|
# - To do the opposite, and get the tag from the hash, you can do: |
|
|
|
# docker image inspect --format "{{.RepoTags}}" bitwardenrs/web-vault@sha256:f32c555a2bc3ee6bc0718319b1e8057c10ef889cf7231f0ff217af98486da554 |
|
|
|
FROM bitwardenrs/web-vault@sha256:f32c555a2bc3ee6bc0718319b1e8057c10ef889cf7231f0ff217af98486da554 as vault |
|
|
|
# docker image inspect --format "{{.RepoTags}}" bitwardenrs/web-vault@sha256:c62e0b8698562e03fe2759374f3ecd760d9612e4eaf0af4583f231ebf05d6df5 |
|
|
|
FROM bitwardenrs/web-vault@sha256:c62e0b8698562e03fe2759374f3ecd760d9612e4eaf0af4583f231ebf05d6df5 as vault |
|
|
|
|
|
|
|
########################## BUILD IMAGE ########################## |
|
|
|
# We need to use the Rust build image, because |
|
|
|
|
|
@ -10,12 +10,12 @@ |
|
|
|
# It can be viewed in multiple ways: |
|
|
|
# - From the https://hub.docker.com/repository/docker/bitwardenrs/web-vault/tags page, click the tag name and the digest should be there. |
|
|
|
# - From the console, with the following commands: |
|
|
|
# docker pull bitwardenrs/web-vault:v2.13.2b |
|
|
|
# docker image inspect --format "{{.RepoDigests}}" bitwardenrs/web-vault:v2.13.2b |
|
|
|
# docker pull bitwardenrs/web-vault:v2.14.0 |
|
|
|
# docker image inspect --format "{{.RepoDigests}}" bitwardenrs/web-vault:v2.14.0 |
|
|
|
# |
|
|
|
# - To do the opposite, and get the tag from the hash, you can do: |
|
|
|
# docker image inspect --format "{{.RepoTags}}" bitwardenrs/web-vault@sha256:f32c555a2bc3ee6bc0718319b1e8057c10ef889cf7231f0ff217af98486da554 |
|
|
|
FROM bitwardenrs/web-vault@sha256:f32c555a2bc3ee6bc0718319b1e8057c10ef889cf7231f0ff217af98486da554 as vault |
|
|
|
# docker image inspect --format "{{.RepoTags}}" bitwardenrs/web-vault@sha256:c62e0b8698562e03fe2759374f3ecd760d9612e4eaf0af4583f231ebf05d6df5 |
|
|
|
FROM bitwardenrs/web-vault@sha256:c62e0b8698562e03fe2759374f3ecd760d9612e4eaf0af4583f231ebf05d6df5 as vault |
|
|
|
|
|
|
|
########################## BUILD IMAGE ########################## |
|
|
|
# We need to use the Rust build image, because |
|
|
|
|
|
@ -10,12 +10,12 @@ |
|
|
|
# It can be viewed in multiple ways: |
|
|
|
# - From the https://hub.docker.com/repository/docker/bitwardenrs/web-vault/tags page, click the tag name and the digest should be there. |
|
|
|
# - From the console, with the following commands: |
|
|
|
# docker pull bitwardenrs/web-vault:v2.13.2b |
|
|
|
# docker image inspect --format "{{.RepoDigests}}" bitwardenrs/web-vault:v2.13.2b |
|
|
|
# docker pull bitwardenrs/web-vault:v2.14.0 |
|
|
|
# docker image inspect --format "{{.RepoDigests}}" bitwardenrs/web-vault:v2.14.0 |
|
|
|
# |
|
|
|
# - To do the opposite, and get the tag from the hash, you can do: |
|
|
|
# docker image inspect --format "{{.RepoTags}}" bitwardenrs/web-vault@sha256:f32c555a2bc3ee6bc0718319b1e8057c10ef889cf7231f0ff217af98486da554 |
|
|
|
FROM bitwardenrs/web-vault@sha256:f32c555a2bc3ee6bc0718319b1e8057c10ef889cf7231f0ff217af98486da554 as vault |
|
|
|
# docker image inspect --format "{{.RepoTags}}" bitwardenrs/web-vault@sha256:c62e0b8698562e03fe2759374f3ecd760d9612e4eaf0af4583f231ebf05d6df5 |
|
|
|
FROM bitwardenrs/web-vault@sha256:c62e0b8698562e03fe2759374f3ecd760d9612e4eaf0af4583f231ebf05d6df5 as vault |
|
|
|
|
|
|
|
########################## BUILD IMAGE ########################## |
|
|
|
# We need to use the Rust build image, because |
|
|
|