mirror of
https://github.com/phpbb/phpbb.git
synced 2025-10-04 19:51:39 +02:00
[ticket/17544] Changes from review
PHPBB-17544
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
"build": {
|
"build": {
|
||||||
"dockerfile": "../Dockerfile",
|
"dockerfile": "../Dockerfile",
|
||||||
"args": {
|
"args": {
|
||||||
"VARIANT": "ubuntu-22.04"
|
"VARIANT": "ubuntu-24.04"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@@ -10,10 +10,6 @@ sudo service mysql start
|
|||||||
echo "[Codespaces] Start Apache"
|
echo "[Codespaces] Start Apache"
|
||||||
sudo apache2ctl start
|
sudo apache2ctl start
|
||||||
|
|
||||||
# Add SSH key
|
|
||||||
# echo "[Codespaces] Add SSH key"
|
|
||||||
# echo "$SSH_KEY" > /home/vscode/.ssh/id_rsa && chmod 600 /home/vscode/.ssh/id_rsa
|
|
||||||
|
|
||||||
# Create a MySQL user to use
|
# Create a MySQL user to use
|
||||||
echo "[Codespaces] Create MySQL user"
|
echo "[Codespaces] Create MySQL user"
|
||||||
sudo mysql -u root<<EOFMYSQL
|
sudo mysql -u root<<EOFMYSQL
|
||||||
@@ -37,13 +33,13 @@ if [ "$CODESPACES" = true ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
URL_EPV="https://github.com/phpbb/epv"
|
URL_EPV="https://github.com/phpbb/epv"
|
||||||
URL_TV="https://github.com/battye/phpbb-translation-validator"
|
URL_TV="https://github.com/phpbb/phpbb-translation-validator"
|
||||||
URL_TITANIA="https://github.com/battye/customisation-db.git"
|
URL_TITANIA="https://github.com/phpbb/customisation-db.git"
|
||||||
|
|
||||||
# Install Titania
|
# Install Titania
|
||||||
echo "[Codespaces] Install Titania"
|
echo "[Codespaces] Install Titania"
|
||||||
cd /workspaces/
|
cd /workspaces/
|
||||||
git clone -b 3.3.x-phpbb-codespaces $URL_TITANIA titania
|
git clone -b oberon $URL_TITANIA titania
|
||||||
cd /workspaces/titania
|
cd /workspaces/titania
|
||||||
chmod 755 files store
|
chmod 755 files store
|
||||||
composer install --no-interaction
|
composer install --no-interaction
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
"build": {
|
"build": {
|
||||||
"dockerfile": "../Dockerfile",
|
"dockerfile": "../Dockerfile",
|
||||||
"args": {
|
"args": {
|
||||||
"VARIANT": "ubuntu-22.04"
|
"VARIANT": "ubuntu-24.04"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@@ -10,10 +10,6 @@ sudo service mysql start
|
|||||||
echo "[Codespaces] Start Apache"
|
echo "[Codespaces] Start Apache"
|
||||||
sudo apache2ctl start
|
sudo apache2ctl start
|
||||||
|
|
||||||
# Add SSH key
|
|
||||||
# echo "[Codespaces] Add SSH key"
|
|
||||||
# echo "$SSH_KEY" > /home/vscode/.ssh/id_rsa && chmod 600 /home/vscode/.ssh/id_rsa
|
|
||||||
|
|
||||||
# Create a MySQL user to use
|
# Create a MySQL user to use
|
||||||
echo "[Codespaces] Create MySQL user"
|
echo "[Codespaces] Create MySQL user"
|
||||||
sudo mysql -u root<<EOFMYSQL
|
sudo mysql -u root<<EOFMYSQL
|
||||||
@@ -23,8 +19,8 @@ sudo mysql -u root<<EOFMYSQL
|
|||||||
EOFMYSQL
|
EOFMYSQL
|
||||||
|
|
||||||
# Download dependencies
|
# Download dependencies
|
||||||
# echo "[Codespaces] Install Composer dependencies"
|
echo "[Codespaces] Install Composer dependencies"
|
||||||
# composer install --no-interaction
|
composer install --no-interaction
|
||||||
|
|
||||||
# Symlink the webroot so it can be viewed
|
# Symlink the webroot so it can be viewed
|
||||||
echo "[Codespaces] Create Symlink of webroot"
|
echo "[Codespaces] Create Symlink of webroot"
|
||||||
|
Reference in New Issue
Block a user