Added a Dockerfile that will fix missing libraries in the STS Agent
image.
This commit is contained in:
1 parent
93bb0b78a2
commit
9e86c566ae
3 files changed
+17
-4
No files matched your search
@@ -0,0 +1,11 @@
|
||||
FROM ubuntu:18.04 AS glibc
|
||||
|
||||
FROM gcr.io/cloud-ingest/tsop-agent:latest
|
||||
|
||||
# Shared glibc 2.27 libraries, matching the glibc of the static launcher, needed by the cryptography binding for certificate-based authentication.
|
||||
COPY --from=glibc /lib/x86_64-linux-gnu/libc-2.27.so /lib/x86_64-linux-gnu/libc.so.6
|
||||
COPY --from=glibc /lib/x86_64-linux-gnu/libm-2.27.so /lib/x86_64-linux-gnu/libm.so.6
|
||||
COPY --from=glibc /lib/x86_64-linux-gnu/libpthread-2.27.so /lib/x86_64-linux-gnu/libpthread.so.0
|
||||
COPY --from=glibc /lib/x86_64-linux-gnu/ld-2.27.so /lib64/ld-linux-x86-64.so.2
|
||||
|
||||
ENV LD_LIBRARY_PATH=/lib/x86_64-linux-gnu
|
||||
@@ -1,6 +1,6 @@
|
||||
services:
|
||||
sts-agent:
|
||||
image: gcr.io/cloud-ingest/tsop-agent:latest
|
||||
build: .
|
||||
ulimits:
|
||||
memlock: 64000000
|
||||
volumes:
|
||||
|
||||
Reference in new issue
Block a user