Skip to content

Instantly share code, notes, and snippets.

@Andrea-Scuderi
Last active January 15, 2022 13:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Andrea-Scuderi/18c5bc8a8b3953b58706257542e4d036 to your computer and use it in GitHub Desktop.
Save Andrea-Scuderi/18c5bc8a8b3953b58706257542e4d036 to your computer and use it in GitHub Desktop.
Makefile.emerge
MOUNT_ROOT=$(shell pwd)
DOCKER_TAG=emerge:1.0.0
docker_build:
docker build --tag $(DOCKER_TAG) .
docker_bash:
docker run \
-it \
--rm \
--volume "$(MOUNT_ROOT):/src" \
--workdir "/src/" \
$(DOCKER_TAG) \
/bin/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment