File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 11MIT License
22
3- Copyright (c) 2024 Tiny Blocks
3+ Copyright (c) 2025 Tiny Blocks
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change 1+ ifeq ($(OS ) ,Windows_NT)
2+ PWD := $(shell cd)
3+ else
4+ PWD := $(shell pwd -L)
5+ endif
6+
7+ ARCH := $(shell uname -m)
8+ PLATFORM :=
9+
10+ ifeq ($(ARCH ) ,arm64)
11+ PLATFORM := --platform=linux/amd64
12+ endif
13+
114PHP_IMAGE = gustavofreze/php:8.3
2- DOCKER_RUN = docker run -u root --rm -it --network=tiny-blocks --name test-lib \
15+ DOCKER_RUN = docker run ${PLATFORM} -u root --rm -it --network=tiny-blocks --name test-lib \
316 -v ${PWD}:/app \
417 -v ${PWD}/tests/Integration/Database/Migrations:/test-adm-migrations \
518 -v /var/run/docker.sock:/var/run/docker.sock \
You can’t perform that action at this time.
0 commit comments