-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.alpine.run
More file actions
24 lines (19 loc) · 962 Bytes
/
Dockerfile.alpine.run
File metadata and controls
24 lines (19 loc) · 962 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#FROM alpine:3.16
# includes libgcc
FROM node:12-alpine
# gcompat libstdc++: required for
#10 0.658 libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x7f9d72263000)
#10 0.658 libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x7f9d72249000)
# https://wiki.alpinelinux.org/wiki/Running_glibc_programs
RUN apk add bash sudo curl wget musl musl-dev gcompat libstdc++
SHELL ["/bin/bash", "-c"]
WORKDIR /app
COPY cachebust .
RUN wget https://github.com/Masterxilo/google-auth-library-token/raw/master/dist/google-auth-library-token-alpine
RUN chmod +x ./google-auth-library-token-alpine
# Error loading shared library libstdc++.so.6
RUN ldd ./google-auth-library-token-alpine
# TODO #10 1.662 /bin/bash: line 1: 8 Segmentation fault ./google-auth-library-token-alpine
RUN ( ./google-auth-library-token-alpine || true ) 2>&1
# | grep -F 'GOOGLE_APPLICATION_CREDENTIALS environment variable is not set!'
ENTRYPOINT [ "/app/dist/google-auth-library-token" ]