Add misisng iproute2 package, fail on errors
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Reynir Björnsson 2022-07-23 11:52:02 +02:00
parent bd8406a8d2
commit ed1904483a
2 changed files with 2 additions and 1 deletions

View File

@ -12,5 +12,6 @@ COPY --from=opam /home/opam/unipi.spt /unipi.spt
COPY --from=opam /home/opam/solo5-elftool /usr/local/bin/solo5-elftool
COPY --from=opam /home/opam/solo5-spt /usr/local/bin/solo5-spt
COPY entrypoint.sh /entrypoint.sh
RUN apt update && apt install -y iproute2
EXPOSE 80
ENTRYPOINT ["/entrypoint.sh", "/unipi.spt"]

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/sh -e
if [ "$#" -lt 1 ]; then
echo Must provide the unikernel as argument >&2