Following the instructions here using a Macbook Pro M1 I get the following when attempting to build the "vault-with-venafi-plugins" image:
[~/src/opencredo/venafi-vault-wizard/examples/helm]
$ make build
Building Docker image with version 0.9.0 of the pki monitor and version 0.10.3 of the pki backend venafi plugins
docker build -t vault-with-venafi-plugins --build-arg PKI_MONITOR_PLUGIN_VERSION=0.9.0 --build-arg PKI_BACKEND_PLUGIN_VERSION=0.10.3 .
[+] Building 1.5s (5/5) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/vault:1.7.1 1.3s
=> CACHED [1/2] FROM docker.io/library/vault:1.7.1@sha256:10f564c947706e021e60c84bd22b1e91559db133d6d3a57e930d32cd7e0cbf77 0.0s
=> ERROR [2/2] RUN set -eux; apkArch="$(apk --print-arch)"; case "$apkArch" in x86_64) ARCH='' ;; x86) ARCH='86' ;; 0.2s
------
> [2/2] RUN set -eux; apkArch="$(apk --print-arch)"; case "$apkArch" in x86_64) ARCH='' ;; x86) ARCH='86' ;; *) echo >&2 "error: unsupported architecture: $apkArch"; exit 1 ;; esac && mkdir -p /tmp/plugin_dl && cd /tmp/plugin_dl && wget https://github.com/Venafi/vault-pki-monitor-venafi/releases/download/v0.9.0/venafi-pki-monitor_v0.9.0_linux${ARCH}_optional.zip && wget https://github.com/Venafi/vault-pki-backend-venafi/releases/download/v0.10.3/venafi-pki-backend_v0.10.3_linux${ARCH}.zip && mkdir -p /vault/plugins && unzip venafi-pki-monitor_v0.9.0_linux${ARCH}_optional.zip && cp venafi-pki-monitor_optional /vault/plugins/venafi-pki-monitor_v0.9.0 && unzip venafi-pki-backend_v0.10.3_linux${ARCH}.zip && cp venafi-pki-backend /vault/plugins/venafi-pki-backend_v0.10.3 && cd /tmp && rm -rf /tmp/plugin_dl:
#5 0.141 + apk --print-arch
#5 0.143 + apkArch=aarch64
#5 0.143 + echo 'error: unsupported architecture: aarch64'
#5 0.143 error: unsupported architecture: aarch64
#5 0.143 + exit 1
------
executor failed running [/bin/sh -c set -eux; apkArch="$(apk --print-arch)"; case "$apkArch" in x86_64) ARCH='' ;; x86) ARCH='86' ;; *) echo >&2 "error: unsupported architecture: $apkArch"; exit 1 ;; esac && mkdir -p /tmp/plugin_dl && cd /tmp/plugin_dl && wget https://github.com/Venafi/vault-pki-monitor-venafi/releases/download/v${PKI_MONITOR_PLUGIN_VERSION}/venafi-pki-monitor_v${PKI_MONITOR_PLUGIN_VERSION}_linux${ARCH}_optional.zip && wget https://github.com/Venafi/vault-pki-backend-venafi/releases/download/v${PKI_BACKEND_PLUGIN_VERSION}/venafi-pki-backend_v${PKI_BACKEND_PLUGIN_VERSION}_linux${ARCH}.zip && mkdir -p /vault/plugins && unzip venafi-pki-monitor_v${PKI_MONITOR_PLUGIN_VERSION}_linux${ARCH}_optional.zip && cp venafi-pki-monitor_optional /vault/plugins/venafi-pki-monitor_v${PKI_MONITOR_PLUGIN_VERSION} && unzip venafi-pki-backend_v${PKI_BACKEND_PLUGIN_VERSION}_linux${ARCH}.zip && cp venafi-pki-backend /vault/plugins/venafi-pki-backend_v${PKI_BACKEND_PLUGIN_VERSION} && cd /tmp && rm -rf /tmp/plugin_dl]: exit code: 1
make: *** [build] Error 1
It would appear that the M1 (ARM) architecture is currently unsupported.
This could be a one-off when building the image or part or a series of related issues, I'm currently unable to tell.
Following the instructions here using a Macbook Pro M1 I get the following when attempting to build the "vault-with-venafi-plugins" image:
It would appear that the M1 (ARM) architecture is currently unsupported. This could be a one-off when building the image or part or a series of related issues, I'm currently unable to tell.