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 1
1
MIT License
2
2
3
- Copyright (c) 2024 Tiny Blocks
3
+ Copyright (c) 2025 Tiny Blocks
4
4
5
5
Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
of 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
+
1
14
PHP_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 \
3
16
-v ${PWD}:/app \
4
17
-v ${PWD}/tests/Integration/Database/Migrations:/test-adm-migrations \
5
18
-v /var/run/docker.sock:/var/run/docker.sock \
You can’t perform that action at this time.
0 commit comments