Sha256: a38079e2cca84799dbdc0494eef0fa3d1d9139c0833360f4794d8c90ca51c38f

Contents?: true

Size: 796 Bytes

Versions: 57

Compression:

Stored size: 796 Bytes

Contents

IMG=jsalatiel/wsbb-podman:latest
CONTAINER_NAME=wsbb
DOCKERCMD=sudo podman


USER_UID = $(shell id -u $(USER))
USER_GID = $(shell id -g $(USER))
ifeq ($(shell uname),Darwin)
	USER_GID = $(shell id -u $(USER))
endif

build:
	$(DOCKERCMD) build -t ${IMG} .

start:
	$(DOCKERCMD) run -d  --rm -it --name ${CONTAINER_NAME} \
		--cap-add CAP_AUDIT_WRITE  --cap-add  CAP_SYS_PTRACE  \
		-e USER_UID=$(USER_UID) \
		-e USER_GID=$(USER_GID) \
		-v "$(HOME)/.Xauthority:/home/user/.Xauthority:ro" \
		-v "/tmp/.X11-unix:/tmp/.X11-unix:ro" \
		-v "/etc/machine-id:/etc/machine-id:ro" \
		$(IMG) seg.bb.com.br
logs:
	$(DOCKERCMD) logs -f ${CONTAINER_NAME}

shell:
	$(DOCKERCMD) exec -it ${CONTAINER_NAME} bash

stop:
	-$(DOCKERCMD) kill ${CONTAINER_NAME}

remove:
	-$(DOCKERCMD) image rm ${CONTAINER_NAME}

Version data entries

57 entries across 57 versions & 2 rubygems

Version Path
ehbrs_ruby_utils-0.44.3 template/ehbrs_ruby_utils/finances/bb_browser/docker_image/Makefile
ehbrs_ruby_utils-0.44.2 template/ehbrs_ruby_utils/finances/bb_browser/docker_image/Makefile
ehbrs_ruby_utils-0.44.1 template/ehbrs_ruby_utils/finances/bb_browser/docker_image/Makefile
ehbrs_ruby_utils-0.44.0 template/ehbrs_ruby_utils/finances/bb_browser/docker_image/Makefile
ehbrs_ruby_utils-0.41.1 template/ehbrs_ruby_utils/finances/bb_browser/docker_image/Makefile
ehbrs_ruby_utils-0.41.0 template/ehbrs_ruby_utils/finances/bb_browser/docker_image/Makefile
ehbrs_ruby_utils-0.40.0 template/ehbrs_ruby_utils/finances/bb_browser/docker_image/Makefile
ehbrs_ruby_utils-0.39.0 template/ehbrs_ruby_utils/finances/bb_browser/docker_image/Makefile
ehbrs_ruby_utils-0.38.0 template/ehbrs_ruby_utils/finances/bb_browser/docker_image/Makefile
ehbrs_ruby_utils-0.37.0 template/ehbrs_ruby_utils/finances/bb_browser/docker_image/Makefile
ehbrs_ruby_utils-0.36.1 template/ehbrs_ruby_utils/finances/bb_browser/docker_image/Makefile
ehbrs_ruby_utils-0.36.0 template/ehbrs_ruby_utils/finances/bb_browser/docker_image/Makefile
ehbrs_ruby_utils-0.35.0 template/ehbrs_ruby_utils/finances/bb_browser/docker_image/Makefile
ehbrs_ruby_utils-0.33.0 template/ehbrs_ruby_utils/finances/bb_browser/docker_image/Makefile
ehbrs_ruby_utils-0.32.0 template/ehbrs_ruby_utils/finances/bb_browser/docker_image/Makefile
ehbrs_ruby_utils-0.31.0 template/ehbrs_ruby_utils/finances/bb_browser/docker_image/Makefile
ehbrs_ruby_utils-0.30.0 template/ehbrs_ruby_utils/finances/bb_browser/docker_image/Makefile
ehbrs_ruby_utils-0.29.0 template/ehbrs_ruby_utils/finances/bb_browser/docker_image/Makefile
ehbrs_ruby_utils-0.28.0 template/ehbrs_ruby_utils/finances/bb_browser/docker_image/Makefile
ehbrs_ruby_utils-0.27.1 template/ehbrs_ruby_utils/finances/bb_browser/docker_image/Makefile