mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-25 06:05:37 +03:00
fix
This commit is contained in:
parent
577e580856
commit
818a7b80e6
@ -35,7 +35,8 @@ RUN echo "24333f8a63b6825ea9c5514f83c2829b004d1fee" > /usr/lib/android-sdk/licen
|
|||||||
#RUN export SDKMAN_DIR="/usr/local/sdkman" && curl -s "https://get.sdkman.io?rcupdate=false" | bash
|
#RUN export SDKMAN_DIR="/usr/local/sdkman" && curl -s "https://get.sdkman.io?rcupdate=false" | bash
|
||||||
#RUN export SDKMAN_DIR="/config/.sdkman" && curl -A "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" -s "https://get.sdkman.io" | bash
|
#RUN export SDKMAN_DIR="/config/.sdkman" && curl -A "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" -s "https://get.sdkman.io" | bash
|
||||||
COPY ./sdkman.sh /tmp/sdkman.sh
|
COPY ./sdkman.sh /tmp/sdkman.sh
|
||||||
RUN export SDKMAN_DIR="/config/.sdkman" && chmod +x /tmp/sdkman.sh && bash /tmp/sdkman.sh
|
RUN export SDKMAN_DIR="/config/.sdkman" && chmod +x /tmp/sdkman.sh
|
||||||
|
RUN /tmp/sdkman.sh
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# Gradle
|
# Gradle
|
||||||
|
@ -281,7 +281,8 @@ RUN echo "24333f8a63b6825ea9c5514f83c2829b004d1fee" > /usr/lib/android-sdk/licen
|
|||||||
#RUN export SDKMAN_DIR="/usr/local/sdkman" && curl -s "https://get.sdkman.io?rcupdate=false" | bash
|
#RUN export SDKMAN_DIR="/usr/local/sdkman" && curl -s "https://get.sdkman.io?rcupdate=false" | bash
|
||||||
#RUN export SDKMAN_DIR="/config/.sdkman" && curl -A "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" -s "https://get.sdkman.io" | bash
|
#RUN export SDKMAN_DIR="/config/.sdkman" && curl -A "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" -s "https://get.sdkman.io" | bash
|
||||||
COPY ./sdkman.sh /tmp/sdkman.sh
|
COPY ./sdkman.sh /tmp/sdkman.sh
|
||||||
RUN export SDKMAN_DIR="/config/.sdkman" && chmod +x /tmp/sdkman.sh && bash /tmp/sdkman.sh
|
RUN export SDKMAN_DIR="/config/.sdkman" && chmod +x /tmp/sdkman.sh
|
||||||
|
RUN /tmp/sdkman.sh
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# Gradle
|
# Gradle
|
||||||
|
@ -24,7 +24,8 @@ RUN echo "24333f8a63b6825ea9c5514f83c2829b004d1fee" > /usr/lib/android-sdk/licen
|
|||||||
##################################################################
|
##################################################################
|
||||||
#RUN curl -A "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" -s "http://get.sdkman.io" | bash
|
#RUN curl -A "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/81.0" -s "http://get.sdkman.io" | bash
|
||||||
COPY ./sdkman.sh /tmp/sdkman.sh
|
COPY ./sdkman.sh /tmp/sdkman.sh
|
||||||
RUN export SDKMAN_DIR="/config/.sdkman" && chmod +x /tmp/sdkman.sh && bash /tmp/sdkman.sh
|
RUN export SDKMAN_DIR="/config/.sdkman" && chmod +x /tmp/sdkman.sh
|
||||||
|
RUN /tmp/sdkman.sh
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# Gradle
|
# Gradle
|
||||||
@ -44,8 +45,4 @@ RUN apt clean -y && \
|
|||||||
apt autoclean -y && \
|
apt autoclean -y && \
|
||||||
rm -rfv /var/lib/apt/lists/* && \
|
rm -rfv /var/lib/apt/lists/* && \
|
||||||
rm -rfv /var/cache/apt/archives/*.deb && \
|
rm -rfv /var/cache/apt/archives/*.deb && \
|
||||||
rm -rfv /tmp/deb/* && \
|
rm -rfv /tmp/*
|
||||||
rm -rfv /tmp/composer-setup.php && \
|
|
||||||
rm -rfv /tmp/amxx_base_latest.tar.gz && \
|
|
||||||
rm -rfv /tmp/atlassian-plugin-sdk.deb && \
|
|
||||||
rm -rfv /tmp/addons
|
|
Loading…
Reference in New Issue
Block a user