feature: updated Dockerfile
Gitea/docker-base-images/jdk14-alpine/pipeline/head There was a failure building this commit Details

fix/fix-agent-installation
amorozov 2023-03-30 20:16:31 +03:00
parent 0bf808597a
commit 67acb85aa5
1 changed files with 2 additions and 3 deletions

View File

@ -8,12 +8,12 @@ ENV GROOVY_VERSION=4.0.9
# Install docker-cli, docker-compose, git, bash # Install docker-cli, docker-compose, git, bash
RUN apk update && \ RUN apk update && \
apk add --no-cache docker-cli python3 git bash && \ apk add --no-cache docker-cli python3 py3-pip git bash && \
python3 -m pip install --upgrade pip && \
apk add --no-cache --virtual .docker-compose-deps python3-dev libffi-dev openssl-dev gcc libc-dev make && \ apk add --no-cache --virtual .docker-compose-deps python3-dev libffi-dev openssl-dev gcc libc-dev make && \
pip3 install docker-compose && \ pip3 install docker-compose && \
apk del .docker-compose-deps apk del .docker-compose-deps
RUN set -o errexit -o nounset && echo "Installing build dependencies" && \ RUN set -o errexit -o nounset && echo "Installing build dependencies" && \
apk add --no-cache --virtual .build-deps gnupg && \ apk add --no-cache --virtual .build-deps gnupg && \
echo "Downloading Groovy" && \ echo "Downloading Groovy" && \
@ -42,4 +42,3 @@ RUN set -o errexit -o nounset && echo "Installing build dependencies" && \
sed --in-place 's|startGroovy ( ) {|startGroovy ( ) {\n JAVA_OPTS="$JAVA_OPTS --add-modules=ALL-SYSTEM"|' "${GROOVY_HOME}/bin/startGroovy" sed --in-place 's|startGroovy ( ) {|startGroovy ( ) {\n JAVA_OPTS="$JAVA_OPTS --add-modules=ALL-SYSTEM"|' "${GROOVY_HOME}/bin/startGroovy"