Compare commits
1 Commits
master
...
fix/fix-ag
Author | SHA1 | Date |
---|---|---|
amorozov | 832f7f29fe |
15
Dockerfile
15
Dockerfile
|
@ -6,14 +6,16 @@ FROM ${BASE_IMAGE}
|
|||
ENV GROOVY_HOME=/opt/groovy
|
||||
ENV GROOVY_VERSION=4.0.9
|
||||
|
||||
ENV DOCKER_COMPOSE_VERSION 1.23.2
|
||||
|
||||
# Install docker-cli, docker-compose, git, bash
|
||||
RUN apk update && \
|
||||
apk add --no-cache docker-cli bash git
|
||||
apk add --no-cache docker-cli python3 py3-pip git bash && \
|
||||
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}
|
||||
|
||||
RUN set -o errexit -o nounset && echo "Installing build dependencies" && \
|
||||
apk add --no-cache --virtual .build-deps gnupg && \
|
||||
|
@ -42,6 +44,3 @@ RUN set -o errexit -o nounset && echo "Installing build dependencies" && \
|
|||
echo "Editing startGroovy to include java.xml.bind module" && \
|
||||
sed --in-place 's|startGroovy ( ) {|startGroovy ( ) {\n JAVA_OPTS="$JAVA_OPTS --add-modules=ALL-SYSTEM"|' "${GROOVY_HOME}/bin/startGroovy"
|
||||
|
||||
RUN apk add --no-cache openssh-client
|
||||
|
||||
COPY --from=docker/buildx-bin /buildx /usr/libexec/docker/cli-plugins/docker-buildx
|
||||
|
|
Loading…
Reference in New Issue