sunny250 / base_image_nginx_mysql_php_73

Base image For Web By Nginx + PHP 7.3 + MySQL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Base Image LNMP

  • L: Linux alpine
  • N: Nginx
  • M: MySQL
  • P: PHP 7.3
  • PHP MySQL Ext
    • mysql
    • mysqli

Usage

ENV

  • FLAG=CTFTraining{nginx_mysql_php_73}
  • FLAG_TABLE=flagtable
  • FLAG_COLUMN=flagcolumn

Files

  • src 网站源码
    • db.sql 数据库文件
    • index.php
    • ...etc
  • Dockerfile
  • docker-compose.yml 可选

Dockerfile

FROM ctftraining/base_image_nginx_mysql_php_73

COPY src /var/www/html

# 自定义 flag 方式
# COPY flag.sh /flag.sh

About

Base image For Web By Nginx + PHP 7.3 + MySQL


Languages

Language:TSQL 52.5%Language:Dockerfile 29.0%Language:Shell 18.1%Language:PHP 0.4%