mirror of
https://github.com/bbernhard/signal-cli-rest-api.git
synced 2026-08-31 06:36:02 +00:00
download gradle manually
This commit is contained in:
parent
21ecb465c3
commit
7a6ab79727
@ -43,9 +43,13 @@ ENV JAVA_OPTS="-Djdk.lang.Process.launchMechanism=vfork"
|
||||
ENV LANG=en_US.UTF-8
|
||||
|
||||
RUN cd /tmp \
|
||||
&& git clone https://github.com/AsamK/signal-cli.git --branch v${SIGNAL_CLI_VERSION} --single-branch signal-cli-source \
|
||||
&& wget https://services.gradle.org/distributions/gradle-9.5.1-bin.zip \
|
||||
&& unzip -d /opt/gradle gradle-9.5.1-bin.zip
|
||||
|
||||
ENV PATH=$PATH:/opt/gradle/gradle-9.5.1/bin
|
||||
RUN git clone https://github.com/AsamK/signal-cli.git --branch v${SIGNAL_CLI_VERSION} --single-branch signal-cli-source \
|
||||
&& cd signal-cli-source \
|
||||
&& ./gradlew jsonSchemas
|
||||
&& /opt/gradle/gradle-9.5.1/bin/gradle jsonSchemas
|
||||
|
||||
RUN go install github.com/swaggo/swag/cmd/swag@v${SWAG_VERSION}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user