Allow building non-amd64 Docker images
Wes Morgan committed
Jan 29, 2020 at 11:39 UTC
78977c56e08fd0561616549174f7b76949ee73ef
1 file changed
+3
-3
Dockerfile
+3
-3
@@ -56,11 +56,11 @@ RUN chmod 4755 /usr/local/bin/fusermount
56
RUN chmod 0755 /usr/local/bin/start_ipfs
57
58
# This shared lib (part of glibc) doesn't seem to be included with busybox.
59
-COPY --from=0 /lib/x86_64-linux-gnu/libdl.so.2 /lib/libdl.so.2
59
+COPY --from=0 /lib/*-linux-gnu*/libdl.so.2 /lib/
60
61
# Copy over SSL libraries.
62
-COPY --from=0 /usr/lib/x86_64-linux-gnu/libssl.so* /usr/lib/
63
-COPY --from=0 /usr/lib/x86_64-linux-gnu/libcrypto.so* /usr/lib/
62
+COPY --from=0 /usr/lib/*-linux-gnu*/libssl.so* /usr/lib/
63
+COPY --from=0 /usr/lib/*-linux-gnu*/libcrypto.so* /usr/lib/
64
65
# Swarm TCP; should be exposed to the public
66
EXPOSE 4001