Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
boostchicken authored Jan 11, 2024
1 parent 8ef649c commit 949d2fb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions podman-update/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM rust as rust
RUN mkdir -p /tmp/work
WORKDIR /tmp/work
ARG NETAVARK_VERSION=v1.6.0
ARG NETAVARK_VERSION=v1.9.0
RUN apt-get update && apt-get install -y \
bc \
binutils-aarch64-linux-gnu \
Expand All @@ -19,8 +19,7 @@ RUN git clone https://github.com/containers/netavark/ && mkdir -p /tmp/work/net
WORKDIR /tmp/work/netavark
COPY config.toml ./.cargo/config.toml
COPY ./net.Makefile.patch /tmp
RUN git checkout ${NETAVARK_VERSION} && rustup target add aarch64-unknown-linux-gnu && patch Makefile /tmp/net.Makefile.patch
RUN make build
RUN git checkout ${NETAVARK_VERSION} && rustup target add aarch64-unknown-linux-gnu && patch Makefile /tmp/net.Makefile.patch && make build

FROM golang:1.21.6-bookworm

Expand Down

0 comments on commit 949d2fb

Please sign in to comment.