Compare commits
7 Commits
fix/fix-ag
...
master
Author | SHA1 | Date |
---|---|---|
amorozov | a8429cced6 | |
amorozov | a3a94fcf4e | |
amorozov | 28a1b616a8 | |
amorozov | 71ab7fbae0 | |
amorozov | 0d1e8df801 | |
amorozov | 83e4df3b6d | |
amorozov | d1489e801f |
15
Dockerfile
15
Dockerfile
|
@ -6,16 +6,14 @@ 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 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
|
||||
apk add --no-cache docker-cli bash git
|
||||
|
||||
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 && \
|
||||
|
@ -44,3 +42,6 @@ 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