Skip to content

Commit 052af6a

Browse files
authored
ensure iproute2 is available in docker (#197)
1 parent af617f4 commit 052af6a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docker/Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ RUN PATH="$HOME/.cargo/bin:$PATH" make conjure
5959

6060
COPY go.* /opt/conjure/
6161
COPY cmd/ /opt/conjure/cmd
62-
COPY application/ /opt/conjure/application
6362
COPY pkg/ /opt/conjure/pkg
63+
COPY proto/ /opt/conjure/proto
6464

6565
RUN PATH="$HOME/.go/bin/:$PATH" make app
6666
RUN PATH="$HOME/.go/bin/:$PATH" make registration-server
@@ -91,7 +91,7 @@ FROM base_pfring as conjure_det
9191
COPY sysconfig/conjure.conf /opt/conjure/sysconfig
9292
COPY scripts/ /opt/conjure/scripts
9393

94-
RUN apt update && apt install -yq libzmq3-dev
94+
RUN apt update && apt install -yq libzmq3-dev iproute2
9595
COPY --from=dev_img /opt/conjure/bin/conjure /opt/conjure/bin/
9696

9797
# ------------------------------------------------------------------------------
@@ -102,7 +102,7 @@ FROM ubuntu:20.04 as conjure_app
102102
COPY sysconfig/conjure.conf /opt/conjure/sysconfig/
103103
COPY scripts/ /opt/conjure/scripts
104104

105-
RUN apt update && apt install -yq libzmq3-dev
105+
RUN apt update && apt install -yq libzmq3-dev iproute2
106106
COPY --from=dev_img /opt/conjure/bin/application /opt/conjure/bin/
107107

108108
# ------------------------------------------------------------------------------
@@ -113,7 +113,7 @@ FROM ubuntu:20.04 as conjure_reg
113113
COPY sysconfig/conjure.conf /opt/conjure/sysconfig/
114114
COPY scripts/ /opt/conjure/scripts/
115115

116-
RUN apt update && apt install -yq libzmq3-dev
116+
RUN apt update && apt install -yq libzmq3-dev iproute2
117117
COPY --from=dev_img /opt/conjure/bin/registration-server /opt/conjure/bin/
118118

119119
# ------------------------------------------------------------------------------
@@ -124,7 +124,7 @@ FROM ubuntu:20.04 as conjure_sim
124124
COPY sysconfig/conjure.conf /opt/conjure/sysconfig/
125125
COPY scripts/ /opt/conjure/scripts/
126126

127-
RUN apt update && apt install -yq libzmq3-dev
127+
RUN apt update && apt install -yq libzmq3-dev iproute2
128128
COPY --from=dev_img /opt/conjure/bin/conjure-sim /opt/conjure/bin/conjure
129129
COPY --from=dev_img /opt/conjure/bin/registration-server /opt/conjure/bin/
130130

@@ -136,7 +136,7 @@ FROM base_pfring as conjure
136136
COPY sysconfig/conjure.conf /opt/conjure/sysconfig/
137137
COPY scripts/ /opt/conjure/scripts/
138138

139-
RUN apt update && apt install -yq libzmq3-dev
139+
RUN apt update && apt install -yq libzmq3-dev iproute2
140140
COPY --from=dev_img /opt/conjure/bin/ /opt/conjure/bin/
141141

142142
# ENTRYPOINT /bin/bash

0 commit comments

Comments
 (0)