Merge branch 'feature/polygon-bsc-assets' into develop
This commit is contained in:
commit
ddeaf73bf3
|
@ -5,3 +5,5 @@ node_modules
|
|||
!4bytes/with_parameter_names
|
||||
trustwallet
|
||||
!trustwallet/blockchains/ethereum/assets
|
||||
!trustwallet/blockchains/polygon/assets
|
||||
!trustwallet/blockchains/smartchain/assets
|
||||
|
|
12
Dockerfile
12
Dockerfile
|
@ -1,4 +1,4 @@
|
|||
FROM node:16.13.0-alpine3.14 AS builder
|
||||
FROM node:16.14.0-alpine3.15 AS builder
|
||||
WORKDIR /otterscan-build
|
||||
COPY ["package.json", "package-lock.json", "/otterscan-build/"]
|
||||
RUN npm install
|
||||
|
@ -7,18 +7,20 @@ COPY ["public", "/otterscan-build/public/"]
|
|||
COPY ["src", "/otterscan-build/src/"]
|
||||
RUN npm run build
|
||||
|
||||
FROM alpine:3.14.0 AS logobuilder
|
||||
FROM alpine:3.15.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
|
||||
FROM alpine:3.15.0 AS fourbytesbuilder
|
||||
WORKDIR /signatures
|
||||
COPY 4bytes/signatures /signatures/
|
||||
COPY 4bytes/with_parameter_names /signatures/
|
||||
|
||||
FROM alpine:3.14.0 AS topic0builder
|
||||
FROM alpine:3.15.0 AS topic0builder
|
||||
WORKDIR /topic0
|
||||
COPY topic0/with_parameter_names /topic0/
|
||||
|
||||
|
|
Loading…
Reference in New Issue