diff --git a/services/api-db/Dockerfile b/services/api-db/Dockerfile index 3f65575402..d95f048580 100644 --- a/services/api-db/Dockerfile +++ b/services/api-db/Dockerfile @@ -1,7 +1,9 @@ ARG IMAGE_REPO FROM ${IMAGE_REPO:-lagoon}/mariadb +USER root RUN apk add --no-cache openssh-keygen +USER mysql ENV MARIADB_DATABASE=infrastructure \ MARIADB_USER=api \