Skip to content

Commit

Permalink
socat available in haproxy cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Van Fleet committed Oct 17, 2016
1 parent bedf554 commit 8f48370
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions haproxy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ LABEL ImageType="haproxy"
LABEL ImageName=$imagename
LABEL ImageOS=centos7
LABEL Version=$version

RUN apt-get update && apt-get install -y socat
copy conf/haproxy.cfg /usr/local/etc/haproxy/haproxy.cfg
2 changes: 1 addition & 1 deletion tests/haproxy.bats
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ load ../common
# These tests assume the pipeline will start and stop the container.

@test "socat process exists" {
docker run -i haproxy which socat
docker exec -i haproxy which socat
}

0 comments on commit 8f48370

Please sign in to comment.