From 9b8cf9d4c8b47f5e44200ac112ab85a6a53db904 Mon Sep 17 00:00:00 2001 From: Willian Mitsuda Date: Fri, 25 Feb 2022 21:52:54 -0300 Subject: [PATCH] Add polygon/BSC assets from trustwallet; increase docker image size from 67->79MB; ignore errors from imagemagick because of BSC icons --- .dockerignore | 2 ++ Dockerfile | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index ee24273..1cf24b2 100644 --- a/.dockerignore +++ b/.dockerignore @@ -5,3 +5,5 @@ node_modules !4bytes/with_parameter_names trustwallet !trustwallet/blockchains/ethereum/assets +!trustwallet/blockchains/polygon/assets +!trustwallet/blockchains/smartchain/assets diff --git a/Dockerfile b/Dockerfile index e0e0fb2..1f03df4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,9 @@ FROM alpine:3.14.0 AS logobuilder RUN apk add imagemagick parallel WORKDIR /assets COPY trustwallet/blockchains/ethereum/assets /assets/1/ -RUN find . -name logo.png | parallel magick convert {} -filter Lanczos -resize 32x32 {} +COPY trustwallet/blockchains/polygon/assets /assets/137/ +COPY trustwallet/blockchains/smartchain/assets /assets/56/ +RUN find . -name logo.png | parallel magick convert {} -filter Lanczos -resize 32x32 {}; exit 0 FROM alpine:3.14.0 AS fourbytesbuilder WORKDIR /signatures