mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2024-08-30 18:32:21 +00:00
Update Dockerfile
This commit is contained in:
@ -20,11 +20,9 @@ WORKDIR /tmp/work/netavark
|
|||||||
COPY config.toml ./.cargo/config.toml
|
COPY config.toml ./.cargo/config.toml
|
||||||
ENV CARGO_TARGET_DIR=targets
|
ENV CARGO_TARGET_DIR=targets
|
||||||
COPY ./net.Makefile.patch /tmp
|
COPY ./net.Makefile.patch /tmp
|
||||||
RUN git checkout ${NETAVARK_VERSION} && rustup target add aarch64-unknown-linux-gnu && patch Makefile /tmp/net.Makefile.patch \
|
RUN git checkout ${NETAVARK_VERSION} && rustup target add aarch64-unknown-linux-gnu && patch Makefile /tmp/net.Makefile.patch
|
||||||
|
|
||||||
RUN make build
|
RUN make build
|
||||||
|
|
||||||
RUN cp /tmp/work/netavark/targets/aarch64-unknown-linux-gnu/release/netavark /tmp/work/netavark/bin/ && cp /tmp/work/netavark/targets/aarch64-unknown-linux-gnu/release/netavark-dhcp-client-proxy /tmp/work/netavark/bin/
|
|
||||||
FROM golang:1.18.3-stretch
|
FROM golang:1.18.3-stretch
|
||||||
|
|
||||||
# Currenrtly supported versions: UDM-Base UDM-Pro-SE
|
# Currenrtly supported versions: UDM-Base UDM-Pro-SE
|
||||||
|
Reference in New Issue
Block a user