aws configure set aws_access_key_id ""
aws configure set aws_secret_access_key ""
eval $(aws ecr get-login --no-include-email --region <region | us-east-1> | sed 's;https://;;g')
docker pull
aws configure set aws_access_key_id ""
aws configure set aws_secret_access_key ""
eval $(aws ecr get-login --no-include-email --region <region | us-east-1> | sed 's;https://;;g')
docker pull
apt update
apt-get install software-properties-common
add-apt-repository ppa:ondrej/php
apt update
sudo apt install apache2 mysql-client mariadb-server php8.2 php8.2-fpm
sudo apt install graphviz aspell ghostscript clamav php8.2-pspell php8.2-curl php8.2-gd php8.2-intl php8.2-mysql php8.2-xml php8.2-xmlrpc php8.2-ldap php8.2-zip php8.2-soap php8.2-mbstring
FROM ubuntu:20.04 | |
LABEL copyright=devck | |
LABEL by=developerck@gmail.com | |
LABEL env=lms-moodle4 | |
ENV TZ=UTC | |
## ubunutu env setup ## | |
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && apt update -y && apt install -y \ | |
sudo \ | |
apache2 \ | |
wget \ |
# for localhost runing the lms /mysql / phpmyadmin | |
# lms is exposed at 80 url http://localhost | |
# phpmyadmin is exposed at 8009 http://localhost:8009 | |
# login in phpyadmin | |
# host : mysql | |
# username : root | |
# password : root | |
# code can be directly edited without build | |
# commands | |
# to run |