mirror of
https://github.com/containers/gvisor-tap-vsock.git
synced 2025-09-26 21:01:42 +08:00
Do not use RUN statement (only rely on COPY for busybox image)
This would otherwise need the image to run. If another architecture is used, it prevents this image having to start under emulation. Signed-off-by: Gerard Braad <me@gbraad.nl>
This commit is contained in:
@@ -5,6 +5,5 @@ RUN make
|
|||||||
|
|
||||||
FROM busybox
|
FROM busybox
|
||||||
COPY images/udhcpc.sh /usr/share/udhcpc/default.script
|
COPY images/udhcpc.sh /usr/share/udhcpc/default.script
|
||||||
RUN chmod +x /usr/share/udhcpc/default.script
|
|
||||||
COPY --from=build /opt/app-root/src/bin/gvforwarder .
|
COPY --from=build /opt/app-root/src/bin/gvforwarder .
|
||||||
ENTRYPOINT ["/gvforwarder"]
|
ENTRYPOINT ["/gvforwarder"]
|
||||||
|
0
images/udhcpc.sh
Normal file → Executable file
0
images/udhcpc.sh
Normal file → Executable file
Reference in New Issue
Block a user