Skip to content

Commit

Permalink
Include the sbin iptables wrappers (#224)
Browse files Browse the repository at this point in the history
The previously merged PR#223 did not include the sbin wrapper
scripts in the docker image, and when iptables is detected under
the /sbin directory on the host it will fail with the following error:

  cp /usr/sbin/iptables-save.sbin.wrapper /usr/sbin/iptables-save
  cp: cannot stat '/usr/sbin/iptables-save.sbin.wrapper': No such file or directory

This commit fixes the issue.
  • Loading branch information
mangelajo authored Nov 20, 2019
1 parent e18cd5e commit 5afac41
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions package/Dockerfile.routeagent
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ RUN chmod +x /usr/local/bin/submariner-route-agent.sh
COPY submariner-route-agent /usr/local/bin

# Wrapper scripts to use iptables from the host when that's available
COPY ./iptables.wrapper /usr/sbin/
COPY ./iptables-save.wrapper /usr/sbin/
COPY ./iptables*.wrapper /usr/sbin/

ENTRYPOINT submariner-route-agent.sh

0 comments on commit 5afac41

Please sign in to comment.