Skip to content

Commit

Permalink
fixes on docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
0x90-n committed Apr 17, 2024
1 parent 6e9ba3c commit 6cded4b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ RUN apt-get update && apt-get install -yq sudo apt-utils software-properties-com
# install pf_ring deps

COPY scripts/install_pfring.sh /
ARG pfring_ver="latest"
#ARG pfring_ver="latest"
ARG pfring_ver="7.8.0-stable"
RUN /usr/bin/sudo pfring_ver="${pfring_ver}" /install_pfring.sh

# ------------------------------------------------------------------------------
Expand Down Expand Up @@ -61,6 +62,8 @@ COPY go.* /opt/conjure/
COPY cmd/ /opt/conjure/cmd
COPY pkg/ /opt/conjure/pkg
COPY proto/ /opt/conjure/proto
# util is not actually used, but it is in the go.work, and leaving it out results in an error.
COPY util/ /opt/conjure/util

RUN PATH="$HOME/.go/bin/:/usr/local/go/bin:$PATH" make app
RUN PATH="$HOME/.go/bin/:/usr/local/go/bin:$PATH" make registration-server
Expand Down

0 comments on commit 6cded4b

Please sign in to comment.