mirror of
https://github.com/bbernhard/signal-cli-rest-api.git
synced 2026-05-26 14:44:15 +00:00
download gradle manually
This commit is contained in:
parent
7d8f62a4bb
commit
d1a3956c8c
@ -41,9 +41,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