This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command
$ docker-compose up -d
# To Tear Down
$ docker-compose down --volumes
#!/bin/sh | |
FILES="" | |
for i in $(git diff --name-only); do | |
if [ "${#FILES}" -gt 0 ]; then | |
FILES="$FILES $i" | |
else | |
FILES=$i | |
fi |
#!/bin/sh | |
build_rio() { | |
cargo build --release --no-default-features --features=wayland | |
} | |
install_terminfo() { | |
sudo tic -xe rio misc/rio.terminfo | |
} |
# NOTE: binary name must be set to "bootstrap" | |
# Cargo.toml: | |
# [[bin]] | |
# name = "bootstrap" | |
# path = "src/main.rs" | |
ARG FUNCTION_DIR="/function" | |
FROM rust:1.69-buster as builder |