Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
container allow PHP base image version
skoranda committed Apr 12, 2023
1 parent 86733af commit 8f9c05a
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions container/build.sh
@@ -535,6 +535,7 @@ function main() {
gnu_getopt_out=$(/usr/bin/getopt \
--options hl:os: \
--longoptions help \
--longoptions build-arg: \
--longoptions image_registry: \
--longoptions label: \
--longoptions no-cache \
@@ -554,6 +555,7 @@ function main() {
while true; do
case "$1" in
-h | --help ) usage $@; exit ;;
--build-arg ) docker_build_flags+=(--build-arg "$2") ; shift 2 ;;
--image_registry ) image_registry="$2"; shift 2 ;;
-l | --label ) label="$2"; shift 2 ;;
--no-cache ) docker_build_flags+=(--no-cache) ; shift 1 ;;
3 changes: 2 additions & 1 deletion container/match/base/Dockerfile
@@ -16,7 +16,8 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM php:8.1.17-apache-bullseye
ARG PHP_IMAGE_VERSION=8.1.17
FROM php:${PHP_IMAGE_VERSION}-apache-bullseye

# Official PHP image with Apache HTTPD includes
# --with-openssl

0 comments on commit 8f9c05a

Please sign in to comment.