This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #654 from paritytech/update-versions
Update vault, packer, sops versions and add vault to mitogen image
- Loading branch information
Showing
6 changed files
with
18 additions
and
23 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
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
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 |
---|---|---|
|
@@ -4,6 +4,7 @@ FROM docker.io/library/python:3.9-slim-buster | |
ARG VCS_REF=master | ||
ARG BUILD_DATE="" | ||
ARG REGISTRY_PATH=docker.io/paritytech | ||
ARG VAULT_VERSION=1.17.3 | ||
|
||
LABEL io.parity.image.authors="[email protected]" \ | ||
io.parity.image.vendor="Parity Technologies" \ | ||
|
@@ -18,9 +19,15 @@ dockerfiles/mitogen/README.md" \ | |
|
||
RUN apt-get update -y && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ | ||
sshpass ssh-client rsync tini curl git ruby \ | ||
sshpass ssh-client rsync tini curl git ruby unzip \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN curl "https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip" \ | ||
-o vault.zip; \ | ||
unzip vault.zip -d /usr/local/bin/vault; \ | ||
rm vault.zip; \ | ||
chmod +x /usr/local/bin/vault | ||
|
||
RUN pip install --no-cache-dir pip --upgrade | ||
RUN pip install --no-cache-dir ansible==5.10 google-auth requests jmespath dnspython | ||
|
||
|
@@ -29,7 +36,7 @@ RUN curl -fSL -o /usr/local/bin/subkey 'https://releases.parity.io/substrate/x8 | |
|
||
ENV ANSIBLE_STRATEGY=mitogen_linear | ||
ENV ANSIBLE_STRATEGY_PLUGINS=/opt/mitogen/ansible_mitogen/plugins/strategy | ||
RUN cd /opt && git clone --depth 1 --branch v0.3.3 https://github.com/mitogen-hq/mitogen.git | ||
RUN cd /opt && git clone --depth 1 --branch v0.3.9 https://github.com/mitogen-hq/mitogen.git | ||
|
||
ARG WORKDIR=/work | ||
RUN groupadd --gid 10001 nonroot && \ | ||
|
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 |
---|---|---|
|
@@ -4,8 +4,8 @@ FROM docker.io/paritytech/mitogen:latest | |
ARG VCS_REF=master | ||
ARG BUILD_DATE="" | ||
ARG REGISTRY_PATH=docker.io/paritytech | ||
ARG PACKER_VERSION | ||
ARG VAULT_VERSION | ||
ARG PACKER_VERSION=1.8.7 | ||
ARG VAULT_VERSION=1.17.3 | ||
|
||
LABEL io.parity.image.authors="[email protected]" \ | ||
io.parity.image.vendor="Parity Technologies" \ | ||
|
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 |
---|---|---|
|
@@ -3,8 +3,8 @@ FROM docker.io/library/alpine:latest | |
ARG VCS_REF=master | ||
ARG BUILD_DATE="" | ||
ARG REGISTRY_PATH=docker.io/paritytech | ||
ARG SOPS_VERSION | ||
ARG VAULT_VERSION | ||
ARG SOPS_VERSION=3.9.0 | ||
ARG VAULT_VERSION=1.17.3 | ||
|
||
# metadata | ||
LABEL io.parity.image.authors="[email protected]" \ | ||
|
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 |
---|---|---|
|
@@ -3,8 +3,8 @@ FROM docker.io/library/alpine:latest | |
ARG VCS_REF=master | ||
ARG BUILD_DATE="" | ||
ARG REGISTRY_PATH=docker.io/paritytech | ||
ARG TERRAFORM_VERSION | ||
ARG VAULT_VERSION | ||
ARG TERRAFORM_VERSION=1.5.6 | ||
ARG VAULT_VERSION=1.17.3 | ||
|
||
# metadata | ||
LABEL io.parity.image.authors="[email protected]" \ | ||
|