updated Dockerfile
Gitea/docker-base-images/jdk14-alpine/pipeline/head There was a failure building this commit
Details
Gitea/docker-base-images/jdk14-alpine/pipeline/head There was a failure building this commit
Details
parent
71ab7fbae0
commit
28a1b616a8
13
Dockerfile
13
Dockerfile
|
@ -6,16 +6,15 @@ FROM ${BASE_IMAGE}
|
||||||
ENV GROOVY_HOME=/opt/groovy
|
ENV GROOVY_HOME=/opt/groovy
|
||||||
ENV GROOVY_VERSION=4.0.9
|
ENV GROOVY_VERSION=4.0.9
|
||||||
|
|
||||||
|
ENV DOCKER_COMPOSE_VERSION 1.23.2
|
||||||
|
|
||||||
# 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 py3-pip git bash && \
|
apk add --no-cache docker-cli
|
||||||
apk add --no-cache --virtual .docker-compose-deps python3-dev libffi-dev openssl-dev gcc libc-dev make && \
|
|
||||||
# ln -s /usr/bin/pip3 /usr/bin/pip && \
|
|
||||||
ln -s /usr/bin/python3 /usr/bin/python && \
|
|
||||||
pip install --upgrade pip && \
|
|
||||||
pip3 install docker-compose && \
|
|
||||||
apk del .docker-compose-deps
|
|
||||||
|
|
||||||
|
RUN apk --update add py-pip &&\
|
||||||
|
pip install -U docker-compose==${DOCKER_COMPOSE_VERSION} &&\
|
||||||
|
rm -rf `find / -regex '.*\.py[co]' -or -name apk`
|
||||||
|
|
||||||
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 && \
|
||||||
|
|
Loading…
Reference in New Issue