File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Stage 1: Build the Vault plugin
2- FROM golang:1.19 as builder
2+ FROM golang:1.21 as builder
33
4- ARG PLUGIN_NAME=vault-plugin- database-couchbasecapella
5- ARG PLUGIN_DIR=/vault/plugins/
4+ ARG PLUGIN_NAME=couchbasecapella- database-plugin
5+ ARG PLUGIN_DIR=/vault/plugins
66
77# Install Git
88RUN apt-get update && \
@@ -19,10 +19,10 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o ${PLUGIN_DIR}/${PLUGIN_NAME} "./cmd/cou
1919RUN shasum -a 256 "${PLUGIN_DIR}/${PLUGIN_NAME}" | cut -d " " -f1 > ${PLUGIN_DIR}/${PLUGIN_NAME}.sha256
2020
2121# Stage 2: Add the plugin to the Vault image
22- FROM hashicorp/vault:1.14
22+ FROM hashicorp/vault:1.15
2323
24- ARG PLUGIN_NAME=vault-plugin- database-couchbasecapella
25- ARG PLUGIN_DIR=/vault/plugins/
24+ ARG PLUGIN_NAME=couchbasecapella- database-plugin
25+ ARG PLUGIN_DIR=/vault/plugins
2626
2727ENV PLUGIN_NAME=$PLUGIN_NAME
2828ENV PLUGIN_DIR=$PLUGIN_DIR
You can’t perform that action at this time.
0 commit comments