Skip to content

Commit 6270e0e

Browse files
authored
Merge pull request #28 from movabletype/amd64-on-arm64
Amd64 on arm64
2 parents 2467347 + 6d727ba commit 6270e0e

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1717
* Ensure that binaries with the appropriate architecture are installed even if BuildKit is disabled.
1818
* Reduced image size by using "perl:*-slim" images.
1919

20+
### Fixed
21+
22+
* Add workaround to run amd64 image on arm64.
23+
2024
## [2.2.0] - 2023-02-15
2125

2226
### Added

mt/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $SUDO chmod 777 /var/www/cgi-bin/mt/themes
2323
if [ "$1" = "apache2-foreground" ]; then
2424
# invoke php-fpm
2525
if [ -e /usr/sbin/php-fpm ]; then
26-
mkdir /run/php-fpm
26+
mkdir -p /run/php-fpm
2727
/usr/sbin/php-fpm
2828
fi
2929

mt/httpd/build-script/apache2.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ Timeout 3600
1313
1414
# mt-static
1515
Alias /mt-static/ /var/www/cgi-bin/mt/mt-static/
16+
17+
# Workaround to run amd64 image on arm64
18+
Mutex posixsem
1619
CONF
1720

1821
mod_rewrite_so=`find $module_dirs -name 'mod_rewrite.so' 2>/dev/null | head -1`

0 commit comments

Comments
 (0)