From ff30ddf4f44af63be00f2fe5a89df790e2d858a0 Mon Sep 17 00:00:00 2001 From: Denis Gukov Date: Mon, 1 Nov 2021 14:57:00 +0500 Subject: [PATCH] feat(ci): add sshpass to docker image --- deployment/docker/ci/Dockerfile | 2 +- deployment/docker/dev/Dockerfile | 2 +- deployment/docker/prod/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deployment/docker/ci/Dockerfile b/deployment/docker/ci/Dockerfile index ac62db51..07c81426 100644 --- a/deployment/docker/ci/Dockerfile +++ b/deployment/docker/ci/Dockerfile @@ -5,7 +5,7 @@ ENV SEMAPHORE_VERSION="development" SEMAPHORE_ARCH="linux_amd64" \ APP_ROOT="/go/src/github.com/ansible-semaphore/semaphore/" # hadolint ignore=DL3013 -RUN apk add --no-cache git mysql-client python3 py3-pip py-openssl openssl ca-certificates curl curl-dev openssh-client tini nodejs nodejs-npm bash rsync && \ +RUN apk add --no-cache sshpass git mysql-client python3 py3-pip py-openssl openssl ca-certificates curl curl-dev openssh-client tini nodejs nodejs-npm bash rsync && \ apk --update add --virtual build-dependencies python3-dev libffi-dev openssl-dev build-base &&\ rm -rf /var/cache/apk/* diff --git a/deployment/docker/dev/Dockerfile b/deployment/docker/dev/Dockerfile index 577c8834..3bc79cd2 100644 --- a/deployment/docker/dev/Dockerfile +++ b/deployment/docker/dev/Dockerfile @@ -5,7 +5,7 @@ ENV SEMAPHORE_VERSION="development" SEMAPHORE_ARCH="linux_amd64" \ APP_ROOT="/go/src/github.com/ansible-semaphore/semaphore/" # hadolint ignore=DL3013 -RUN apk add --no-cache git mysql-client python3 py3-pip py-openssl openssl ca-certificates curl curl-dev openssh-client tini nodejs nodejs-npm bash rsync && \ +RUN apk add --no-cache sshpass git mysql-client python3 py3-pip py-openssl openssl ca-certificates curl curl-dev openssh-client tini nodejs nodejs-npm bash rsync && \ apk --update add --virtual build-dependencies python3-dev libffi-dev openssl-dev build-base &&\ rm -rf /var/cache/apk/* diff --git a/deployment/docker/prod/Dockerfile b/deployment/docker/prod/Dockerfile index 3ef811f4..9b4558c6 100644 --- a/deployment/docker/prod/Dockerfile +++ b/deployment/docker/prod/Dockerfile @@ -13,7 +13,7 @@ RUN apk add --no-cache -U libc-dev curl nodejs npm git && \ # and when deploying in openshift FROM frolvlad/alpine-glibc:alpine-3.13 as runner -RUN apk add --no-cache git curl ansible mysql-client openssh-client tini && \ +RUN apk add --no-cache sshpass git curl ansible mysql-client openssh-client tini && \ adduser -D -u 1001 -G root semaphore && \ mkdir -p /tmp/semaphore && \ mkdir -p /etc/semaphore && \