mirror of
https://github.com/Suwayomi/docker-tachidesk.git
synced 2025-12-10 06:42:12 +01:00
Install CURL
This commit is contained in:
@@ -4,10 +4,10 @@ ARG TACHIDESK_ABORT_HANDLER_DOWNLOAD_URL
|
|||||||
|
|
||||||
# build abort handler
|
# build abort handler
|
||||||
RUN if [ -n "$TACHIDESK_ABORT_HANDLER_DOWNLOAD_URL" ]; then \
|
RUN if [ -n "$TACHIDESK_ABORT_HANDLER_DOWNLOAD_URL" ]; then \
|
||||||
|
apt-get update && \
|
||||||
|
apt-get -y install -y curl gcc && \
|
||||||
cd /tmp && \
|
cd /tmp && \
|
||||||
curl "$TACHIDESK_ABORT_HANDLER_DOWNLOAD_URL" -O && \
|
curl "$TACHIDESK_ABORT_HANDLER_DOWNLOAD_URL" -O && \
|
||||||
apt-get update && \
|
|
||||||
apt-get -y install gcc && \
|
|
||||||
gcc -fPIC -I$JAVA_HOME/include -I$JAVA_HOME/include/linux -shared catch_abort.c -lpthread -o /opt/catch_abort.so && \
|
gcc -fPIC -I$JAVA_HOME/include -I$JAVA_HOME/include/linux -shared catch_abort.c -lpthread -o /opt/catch_abort.so && \
|
||||||
rm -f catch_abort.c && \
|
rm -f catch_abort.c && \
|
||||||
apt-get -y purge gcc --auto-remove && \
|
apt-get -y purge gcc --auto-remove && \
|
||||||
@@ -25,7 +25,7 @@ ARG TACHIDESK_KCEF_RELEASE_URL
|
|||||||
# install unzip to unzip the server-reference.conf from the jar
|
# install unzip to unzip the server-reference.conf from the jar
|
||||||
# Install tini for a tiny init system (handles orphan processes for graceful restart)
|
# Install tini for a tiny init system (handles orphan processes for graceful restart)
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get -y install -y gettext-base unzip tini ca-certificates p11-kit && \
|
apt-get -y install -y curl gettext-base unzip tini ca-certificates p11-kit && \
|
||||||
/usr/bin/p11-kit extract --format=java-cacerts --filter=certificates --overwrite --purpose server-auth $JAVA_HOME/lib/security/cacerts && \
|
/usr/bin/p11-kit extract --format=java-cacerts --filter=certificates --overwrite --purpose server-auth $JAVA_HOME/lib/security/cacerts && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|||||||
Reference in New Issue
Block a user