vichoward / make

a simple container to run make command directly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

make

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

Repo:

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

Docker iamge 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

License:MIT License


Languages

Language:Dockerfile 100.0%