|
|
@ -5,12 +5,15 @@ MAKEFLAGS += --silent |
|
|
|
YAMLLINT_TAG=latest |
|
|
|
|
|
|
|
build_yamllint: |
|
|
|
#docker build -t fedy95/baseimage:yamllint-${YAMLLINT_TAG} image -f image/Dockerfile |
|
|
|
docker build -t fedy95/baseimage:yamllint-${YAMLLINT_TAG} image -f image/Dockerfile |
|
|
|
# docker pull dslim/docker-slim:latest
|
|
|
|
#-v /var/run/docker.sock:/var/run/docker.sock
|
|
|
|
docker run --rm --volume /var/run/docker.sock:/var/run/docker.sock dslim/docker-slim:latest build \
|
|
|
|
--http-probe=false \
|
|
|
|
--tag=fedy95/baseimage:yamllint-${YAMLLINT_TAG} fedy95/baseimage:yamllint-${YAMLLINT_TAG} --help |
|
|
|
--tag=fedy95/baseimage:yamllint-${YAMLLINT_TAG} \
|
|
|
|
fedy95/baseimage:yamllint-${YAMLLINT_TAG} |
|
|
|
## TODO fix relaxed.yaml
|
|
|
|
#docker-slim build --http-probe=false --dockerfile Dockerfile --tag-fat dslimexamples/$IMAGE_NAME .
|
|
|
|
|
|
|
|
# docker run --rm -v /var/run/docker.sock:/var/run/docker.sock dslim/docker-slim:latest build --http-probe=false fedy95/baseimage:yamllint-${YAMLLINT_TAG}
|
|
|
|
|
|
|
|