Vendor unrar binaries for Alpine 3.23 compatibility (#2950)
This commit is contained in:
+5
-1
@@ -56,9 +56,13 @@ LABEL org.opencontainers.image.title="BookLore" \
|
||||
|
||||
ENV JAVA_TOOL_OPTIONS="-XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:+UseStringDeduplication -XX:+UseContainerSupport -XX:+UseCompactObjectHeaders -XX:MaxRAMPercentage=75.0"
|
||||
|
||||
RUN apk update && apk add --no-cache su-exec unrar && \
|
||||
ARG TARGETARCH
|
||||
RUN apk update && apk add --no-cache su-exec libstdc++ libgcc && \
|
||||
mkdir -p /bookdrop
|
||||
|
||||
COPY docker/unrar/unrar-${TARGETARCH} /usr/local/bin/unrar
|
||||
RUN chmod 755 /usr/local/bin/unrar
|
||||
|
||||
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||
RUN chmod +x /usr/local/bin/entrypoint.sh
|
||||
COPY --from=springboot-build /springboot-app/build/libs/booklore-api-0.0.1-SNAPSHOT.jar /app/app.jar
|
||||
|
||||
Reference in New Issue
Block a user