Created
July 7, 2021 15:19
-
-
Save jebeaudet/3868624abc308498b15db980b31435bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM adoptopenjdk/maven-openjdk11:latest | |
RUN addgroup --gid 1001 jenkins | |
RUN adduser --uid 1001 --gid 1001 --disabled-password --gecos '' jenkins | |
RUN mkdir -p /usr/share/maven/lib/ext/redisson/ | |
RUN sed -i '/.*${maven.conf}\/logging/a load ${maven.home}/lib/ext/redisson/*.jar' usr/share/maven/bin/m2.conf | |
RUN apt update | |
RUN apt install wget | |
RUN wget -P /usr/share/maven/lib/ext/redisson/ https://repo1.maven.org/maven2/net/bytebuddy/byte-buddy/1.10.7/byte-buddy-1.10.7.jar | |
RUN wget -P /usr/share/maven/lib/ext/redisson/ https://repo1.maven.org/maven2/javax/cache/cache-api/1.0.0/cache-api-1.0.0.jar | |
RUN wget -P /usr/share/maven/lib/ext/redisson/ https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.11.1/jackson-annotations-2.11.1.jar | |
RUN wget -P /usr/share/maven/lib/ext/redisson/ https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.11.1/jackson-core-2.11.1.jar | |
RUN wget -P /usr/share/maven/lib/ext/redisson/ https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.11.1/jackson-databind-2.11.1.jar | |
RUN wget -P /usr/share/maven/lib/ext/redisson/ https://repo1.maven.org/maven2/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.11.1/jackson-dataformat-yaml-2.11.1.jar | |
RUN wget -P /usr/share/maven/lib/ext/redisson/ https://repo1.maven.org/maven2/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar | |
RUN wget -P /usr/share/maven/lib/ext/redisson/ https://repo1.maven.org/maven2/org/jboss/marshalling/jboss-marshalling/2.0.9.Final/jboss-marshalling-2.0.9.Final.jar | |
RUN wget -P /usr/share/maven/lib/ext/redisson/ https://repo1.maven.org/maven2/org/jboss/marshalling/jboss-marshalling-river/2.0.9.Final/jboss-marshalling-river-2.0.9.Final.jar | |
RUN wget -P /usr/share/maven/lib/ext/redisson/ https://repo1.maven.org/maven2/org/jodd/jodd-bean/5.0.13/jodd-bean-5.0.13.jar | |
RUN wget -P /usr/share/maven/lib/ext/redisson/ https://repo1.maven.org/maven2/org/jodd/jodd-core/5.0.13/jodd-core-5.0.13.jar | |
RUN wget -P /usr/share/maven/lib/ext/redisson/ https://repo1.maven.org/maven2/org/apache/maven/resolver/maven-resolver-synccontext-redisson/1.6.1/maven-resolver-synccontext-redisson-1.6.1.jar | |
RUN wget -P /usr/share/maven/lib/ext/redisson/ https://repo1.maven.org/maven2/io/netty/netty-buffer/4.1.51.Final/netty-buffer-4.1.51.Final.jar | |
RUN wget -P /usr/share/maven/lib/ext/redisson/ https://repo1.maven.org/maven2/io/netty/netty-codec/4.1.51.Final/netty-codec-4.1.51.Final.jar | |
RUN wget -P /usr/share/maven/lib/ext/redisson/ https://repo1.maven.org/maven2/io/netty/netty-codec-dns/4.1.51.Final/netty-codec-dns-4.1.51.Final.jar | |
RUN wget -P /usr/share/maven/lib/ext/redisson/ https://repo1.maven.org/maven2/io/netty/netty-common/4.1.51.Final/netty-common-4.1.51.Final.jar | |
RUN wget -P /usr/share/maven/lib/ext/redisson/ https://repo1.maven.org/maven2/io/netty/netty-handler/4.1.51.Final/netty-handler-4.1.51.Final.jar | |
RUN wget -P /usr/share/maven/lib/ext/redisson/ https://repo1.maven.org/maven2/io/netty/netty-resolver/4.1.51.Final/netty-resolver-4.1.51.Final.jar | |
RUN wget -P /usr/share/maven/lib/ext/redisson/ https://repo1.maven.org/maven2/io/netty/netty-resolver-dns/4.1.51.Final/netty-resolver-dns-4.1.51.Final.jar | |
RUN wget -P /usr/share/maven/lib/ext/redisson/ https://repo1.maven.org/maven2/io/netty/netty-transport/4.1.51.Final/netty-transport-4.1.51.Final.jar | |
RUN wget -P /usr/share/maven/lib/ext/redisson/ https://repo1.maven.org/maven2/org/reactivestreams/reactive-streams/1.0.3/reactive-streams-1.0.3.jar | |
RUN wget -P /usr/share/maven/lib/ext/redisson/ https://repo1.maven.org/maven2/io/projectreactor/reactor-core/3.3.4.RELEASE/reactor-core-3.3.4.RELEASE.jar | |
RUN wget -P /usr/share/maven/lib/ext/redisson/ https://repo1.maven.org/maven2/org/redisson/redisson/3.13.3/redisson-3.13.3.jar | |
RUN wget -P /usr/share/maven/lib/ext/redisson/ https://repo1.maven.org/maven2/io/reactivex/rxjava2/rxjava/2.2.19/rxjava-2.2.19.jar | |
RUN wget -P /usr/share/maven/lib/ext/redisson/ https://repo1.maven.org/maven2/org/yaml/snakeyaml/1.26/snakeyaml-1.26.jar | |
USER jenkins |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment