diff --git a/Dockerfile b/Dockerfile index 9b753c0..3be9a59 100644 --- a/Dockerfile +++ b/Dockerfile @@ -66,7 +66,7 @@ ENV LIBXML_CFLAGS="-I/local/install/include/libxml2" # Configure PHP RUN cd php-src && \ - emconfigure ./configure --enable-embed=static \ + emconfigure ./configure --host=$(emcc -dumpmachine) --enable-embed=static \ --disable-all --without-pcre-jit --disable-fiber-asm --disable-cgi --disable-cli --disable-phpdbg \ --with-libxml --enable-simplexml --enable-xml --enable-xmlreader --enable-xmlwriter --enable-dom \ --enable-mbstring \