Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
Replace apt with apt-get
Browse files Browse the repository at this point in the history
  • Loading branch information
foxytanuki committed Nov 23, 2023
1 parent e16a3b7 commit c5f96bd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]'! | bash
RUN ignite chain build \
--release.targets linux:amd64 \
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions dockerfile-node
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]'! | bash
RUN ignite chain build \
--release.targets linux:amd64 \
Expand All @@ -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"]
Expand Down

0 comments on commit c5f96bd

Please sign in to comment.