From c5f96bdcd0bad887259d5b415a8a75dcbf284b8b Mon Sep 17 00:00:00 2001 From: foxytanuki <45069709+foxytanuki@users.noreply.github.com> Date: Thu, 23 Nov 2023 20:37:13 +0000 Subject: [PATCH] Replace apt with apt-get --- dockerfile | 8 ++++---- dockerfile-node | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dockerfile b/dockerfile index f454883b..2200fd7d 100644 --- a/dockerfile +++ b/dockerfile @@ -2,8 +2,8 @@ FROM --platform=linux/amd64 golang AS builder USER root WORKDIR /build/ COPY ./ /build/ -RUN apt update \ - && apt install -y curl +RUN apt-get update \ + && apt-get install -y curl RUN curl 'https://get.ignite.com/cli@v0.27.2'! | bash RUN ignite chain build \ --release.targets linux:amd64 \ @@ -13,8 +13,8 @@ RUN tar -zxvf release/mycel_linux_amd64.tar.gz FROM --platform=linux/amd64 ubuntu ENV LD_LIBRARY_PATH=/usr/local/lib -RUN apt update \ - && apt install -y ca-certificates vim curl +RUN apt-get update \ + && apt-get install -y ca-certificates vim curl WORKDIR /root/ RUN curl -fL 'https://github.com/CosmWasm/wasmvm/releases/download/v1.4.0/libwasmvm.x86_64.so' > /usr/local/lib/libwasmvm.x86_64.so COPY --from=builder /build/myceld /usr/local/bin diff --git a/dockerfile-node b/dockerfile-node index fda05378..2c8458ec 100644 --- a/dockerfile-node +++ b/dockerfile-node @@ -2,8 +2,8 @@ FROM golang AS builder USER root WORKDIR /build/ COPY ./ /build/ -RUN apt update \ - && apt install -y curl +RUN apt-get update \ + && apt-get install -y curl RUN curl 'https://get.ignite.com/cli@v0.27.2'! | bash RUN ignite chain build \ --release.targets linux:amd64 \ @@ -14,8 +14,8 @@ RUN ignite chain build \ RUN tar -zxvf release/mycel_linux_amd64.tar.gz FROM ubuntu -RUN apt update \ - && apt install -y ca-certificates vim +RUN apt-get update \ + && apt-get install -y ca-certificates vim WORKDIR /root/ COPY --from=builder /build/myceld /usr/local/bin CMD ["myceld", "start"]