"Fossies" - the Fresh Open Source Software Archive

Member "wire-server-2021-10-01/build/alpine/Dockerfile.deps" (4 Oct 2021, 874 Bytes) of package /linux/misc/wire-server-2021-10-01.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "Dockerfile.deps": 2021-09-14_vs_2021-10-01.

    1 # Requires docker >= 17.05 (requires support for multi-stage builds)
    2 
    3 FROM alpine:3.12 as cryptobox-builder
    4 
    5 # compile cryptobox-c
    6 RUN apk add --no-cache cargo file libsodium-dev git && \
    7     cd /tmp && \
    8     git clone https://github.com/wireapp/cryptobox-c.git && \
    9     cd cryptobox-c && \
   10     export SODIUM_USE_PKG_CONFIG=1 && \
   11     cargo build --release
   12 
   13 # Minimal dependencies for alpine-compiled, dynamically linked wire-server Haskell services
   14 FROM alpine:3.12
   15 
   16 COPY --from=cryptobox-builder /tmp/cryptobox-c/target/release/libcryptobox.so /usr/lib
   17 
   18 RUN apk add --no-cache \
   19             libsodium \
   20             openssl \
   21             gmp \
   22             libgcc \
   23             libffi \
   24             libstdc++ \
   25             icu \
   26             geoip \
   27             llvm-libunwind \
   28             ca-certificates \
   29             dumb-init \
   30             libxml2 \
   31             ncurses