Merge 342b8a1181
into 3f0061712c
commit
218c2d88c0
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"name": "RevoltChat",
|
||||||
|
"postCreateCommand": "bash firefox.sh",
|
||||||
|
"forwardPorts": [6080],
|
||||||
|
"features": {
|
||||||
|
"ghcr.io/devcontainers/features/desktop-lite:1": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
echo "Updating package lists..."
|
||||||
|
sudo apt update -y
|
||||||
|
|
||||||
|
echo "Installing Firefox..."
|
||||||
|
sudo apt install -y firefox
|
||||||
|
|
||||||
|
# Verify installation
|
||||||
|
if command -v firefox &> /dev/null; then
|
||||||
|
echo "Firefox installed successfully!"
|
||||||
|
else
|
||||||
|
echo "Firefox installation failed."
|
||||||
|
exit 1
|
||||||
|
fi
|
Loading…
Reference in New Issue