Fix arm docker image build

pull/8493/head
Viktor Baranov 1 year ago
parent b5c9cc315b
commit 29b9d96bfb
  1. 1
      CHANGELOG.md
  2. 8
      docker/Dockerfile

@ -31,6 +31,7 @@
### Chore ### Chore
- [#8493](https://github.com/blockscout/blockscout/pull/8493) - Fix arm docker image build
- [#8478](https://github.com/blockscout/blockscout/pull/8478) - Set integration with Blockscout's eth bytecode DB endpoint by default and other enhancements - [#8478](https://github.com/blockscout/blockscout/pull/8478) - Set integration with Blockscout's eth bytecode DB endpoint by default and other enhancements
- [#8442](https://github.com/blockscout/blockscout/pull/8442) - Unify burn address definition - [#8442](https://github.com/blockscout/blockscout/pull/8442) - Unify burn address definition
- [#8321](https://github.com/blockscout/blockscout/pull/8321) - Add curl into resulting Docker image - [#8321](https://github.com/blockscout/blockscout/pull/8321) - Add curl into resulting Docker image

@ -1,12 +1,10 @@
FROM hexpm/elixir:1.14.5-erlang-25.3.2.4-alpine-3.18.2 AS builder FROM bitwalker/alpine-elixir-phoenix:1.14 AS builder
WORKDIR /app WORKDIR /app
RUN apk --no-cache --update add alpine-sdk gmp-dev automake libtool inotify-tools autoconf python3 file libstdc++ curl ca-certificates gcompat
ENV MIX_ENV="prod" ENV MIX_ENV="prod"
RUN apk --update add libstdc++ curl ca-certificates gcompat RUN apk --no-cache --update add alpine-sdk gmp-dev automake libtool inotify-tools autoconf python3 file libstdc++ curl ca-certificates
ARG CACHE_EXCHANGE_RATES_PERIOD ARG CACHE_EXCHANGE_RATES_PERIOD
ARG API_V1_READ_METHODS_DISABLED ARG API_V1_READ_METHODS_DISABLED
@ -57,7 +55,7 @@ RUN mkdir -p /opt/release \
&& mv _build/${MIX_ENV}/rel/blockscout /opt/release && mv _build/${MIX_ENV}/rel/blockscout /opt/release
############################################################## ##############################################################
FROM hexpm/elixir:1.14.5-erlang-25.3.2.4-alpine-3.18.2 FROM bitwalker/alpine-elixir-phoenix:1.14
ARG RELEASE_VERSION ARG RELEASE_VERSION
ENV RELEASE_VERSION=${RELEASE_VERSION} ENV RELEASE_VERSION=${RELEASE_VERSION}

Loading…
Cancel
Save