Skip to content

a simple container to run make command directly

License

Notifications You must be signed in to change notification settings

alpine-docker/make

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

make

A simple container to run make command directly, especially for https://3musketeers.io/

Repo:

https://github.com/alpine-docker/make

Docker image tags:

https://hub.docker.com/r/alpine/make/tags/

Usage

$ cat docker-compose.yml
version: '3.4'
services:
  alpine:
    image: alpine/make
    volumes:
      - .:/opt/app
    working_dir: /opt/app

$ cat Makefile
echo:
	docker-compose run alpine make _echo

_echo:
	echo 'Hello World!'

now you can easily run the build

$ make echo 

docker-compose run alpine make _echo
echo 'Hello World!'
Hello World!

More examples at https://3musketeers.io/

About

a simple container to run make command directly

Resources

License

Stars

Watchers

Forks

Packages

No packages published