fix cobra to sentry + change ws docker file to use alpine (much smaller footprint)

This commit is contained in:
Benjamin Sergeant
2019-05-31 00:43:22 -07:00
parent c65fec7271
commit 285386e47f
7 changed files with 61 additions and 10 deletions

View File

@ -25,6 +25,9 @@ IMG := ${NAME}:${TAG}
LATEST := ${NAME}:latest
BUILD := ${NAME}:build
docker_test:
docker build -f docker/Dockerfile.debian -t bsergean/ixwebsocket_test:build .
docker:
docker build -t ${IMG} .
docker tag ${IMG} ${BUILD}
@ -34,7 +37,7 @@ docker_push:
docker push ${LATEST}
run:
docker run --cap-add sys_ptrace --entrypoint=bash -it bsergean/ws:build
docker run --cap-add sys_ptrace --entrypoint=sh -it bsergean/ws:build
# this is helpful to remove trailing whitespaces
trail: