We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44386ee commit 8f4fc7fCopy full SHA for 8f4fc7f
build.dockerfile
@@ -0,0 +1,8 @@
1
+# Use the official Composer image as the base image
2
+FROM composer:2
3
+
4
+# Install the BCMath extension
5
+RUN docker-php-ext-install bcmath
6
7
+# build with: docker build -t aws-execfwd-build -f build.dockerfile .
8
+# Execute with: docker run --rm -it -e COMPOSER_PROCESS_TIMEOUT=0 -w $PWD -v $PWD:$PWD aws-execfwd-build build
build.sh
+#!/usr/bin/env bash
+set -euo pipefail
+DIR="$(realpath "$(dirname "${BASH_SOURCE[0]}")")"
+cd "$DIR"
+docker build -t aws-execfwd-build -f build.dockerfile .
+docker run --rm -it -e COMPOSER_PROCESS_TIMEOUT=0 -w $PWD -v $PWD:$PWD aws-execfwd-build install
+docker run --rm -it -e COMPOSER_PROCESS_TIMEOUT=0 -w $PWD -v $PWD:$PWD aws-execfwd-build build
0 commit comments