-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
15 lines (14 loc) · 700 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM gcr.io/distroless/base-debian11
LABEL maintainer="Wonderlic DevOps <DevOps@wonderlic.com>"
# Distroless doesn't have a package manager so we have to manually pull over the dependencies.
# Which lib files are needed can be determined with `ldd`.
COPY --from=wonderlic/rust:1.75-builder [\
"/lib/x86_64-linux-gnu/libexpat.so.1", \
"/usr/lib/x86_64-linux-gnu/libuuid.so.1", \
"/usr/lib/x86_64-linux-gnu/libpng16.so.16", \
"/lib/x86_64-linux-gnu/libz.so.1", \
"/usr/lib/x86_64-linux-gnu/libbrotlidec.so.1", \
"/usr/lib/x86_64-linux-gnu/libbrotlicommon.so.1", \
"/usr/lib/x86_64-linux-gnu/libstdc++.so.6", \
"/lib/x86_64-linux-gnu/libgcc_s.so.1", \
"/usr/lib/" ]