update docker files

This commit is contained in:
SionoiS 2024-06-05 11:40:15 -04:00
parent 0ffa957b34
commit 2e134dd4ba
No known key found for this signature in database
GPG Key ID: C9458A8CB1852951
2 changed files with 6 additions and 0 deletions

View File

@ -46,6 +46,9 @@ RUN apk add --no-cache libgcc pcre-dev libpq-dev
# Fix for 'Error loading shared library libpcre.so.3: No such file or directory' # Fix for 'Error loading shared library libpcre.so.3: No such file or directory'
RUN ln -s /usr/lib/libpcre.so /usr/lib/libpcre.so.3 RUN ln -s /usr/lib/libpcre.so /usr/lib/libpcre.so.3
# Fix for 'Error loading shared library libnegentropy.so: No such file or directory'
ADD ./libnegentropy.so ./
# Copy to separate location to accomodate different MAKE_TARGET values # Copy to separate location to accomodate different MAKE_TARGET values
COPY --from=nim-build /app/build/$MAKE_TARGET /usr/local/bin/ COPY --from=nim-build /app/build/$MAKE_TARGET /usr/local/bin/

View File

@ -19,6 +19,9 @@ RUN apt-get update &&\
# Fix for 'Error loading shared library libpcre.so.3: No such file or directory' # Fix for 'Error loading shared library libpcre.so.3: No such file or directory'
RUN ln -s /usr/lib/libpcre.so /usr/lib/libpcre.so.3 RUN ln -s /usr/lib/libpcre.so /usr/lib/libpcre.so.3
# Fix for 'Error loading shared library libnegentropy.so: No such file or directory'
ADD ./libnegentropy.so ./
# Copy to separate location to accomodate different MAKE_TARGET values # Copy to separate location to accomodate different MAKE_TARGET values
ADD ./build/$MAKE_TARGET /usr/local/bin/ ADD ./build/$MAKE_TARGET /usr/local/bin/