-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
Makefile
15 lines (10 loc) · 777 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
OUTPUT := output
OUTPUT := $(abspath $(OUTPUT))
build:
exec docker build --pull --rm --format docker --build-arg DSMR_VERSION="5.11.0" --platform="linux/amd64" --build-arg QEMU_ARCH="x86_64" --build-arg DOCKER_TARGET_RELEASE="2099.09.09" -t dsmr_test_image .
test: build
exec docker run --rm --name dsmr --network host dsmr_test_image
shell:
exec docker exec -ti dsmr bash
# docker build --pull --rm --format docker --build-arg DSMR_VERSION="5.11.0" --platform="linux/amd64" --build-arg QEMU_ARCH="x86_64" --build-arg DOCKER_TARGET_RELEASE="2099.09.09" -t dsmr_test_image .; docker save localhost/dsmr_test_image:latest > dsmr_dev; scp -O dsmr_dev [email protected]:/volume1/onedrive/smarthome
# docker image load < dsmr_dev ; ./docker.sh dsmr_dev; docker logs -f dsmr