From 8cefeaa65c8a912b3aa5f87a62c6e1d86edcd44b Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Sat, 3 Dec 2022 03:25:25 -0500 Subject: [PATCH] [F] Better dockerfile stability --- Dockerfile | 4 ++-- scripts/.convert_past/last-hash.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f6b18e9f..17ba639b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,5 +8,5 @@ COPY requirements.txt /app # So linking is necessary RUN pip install -r requirements.txt \ && echo "@testing https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \ - && apk add --no-cache opencc@testing git \ - && ln -s $(find / -name "libopencc.so.1*" -print -quit) /usr/lib/libopencc.so.1 \ + && apk add --no-cache 'opencc@testing=1.1.4-r0' git \ + && ln -s "/usr/lib/libopencc.so.1.1.3" "/usr/lib/libopencc.so.1" diff --git a/scripts/.convert_past/last-hash.txt b/scripts/.convert_past/last-hash.txt index 46a529b5..e0dd1919 100644 --- a/scripts/.convert_past/last-hash.txt +++ b/scripts/.convert_past/last-hash.txt @@ -1 +1 @@ -8f826c393e75c64e393b74ccdca67330c6462e4e +989f307e52fbb0dcda39d1a9fde5e14fb1c6f6f7