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

Replace apt with apt-get #110

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading