PHP Classes

File: .devcontainer/local-features/apache-config/install.sh

Recommend this page to a friend!
  Packages of Luke Towers   Winter   .devcontainer/local-features/apache-config/install.sh   Download  
File: .devcontainer/local-features/apache-config/install.sh
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Winter
Content management system that uses MVC
Author: By
Last change:
Date: 7 months ago
Size: 963 bytes
 

Contents

Class file image Download
#!/usr/bin/env bash #------------------------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information. #------------------------------------------------------------------------------------------------------------- USERNAME="vscode" set -e if [ "$(id -u)" -ne 0 ]; then echo -e 'Script must be run as root. Use sudo, su, or add "USER root" to your Dockerfile before running this script.' exit 1 fi # Install needed packages and setup non-root user. Use a separate RUN statement to add your own dependencies. export DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -y install --no-install-recommends lynx usermod -aG www-data ${USERNAME} echo "Listen 8080" > /etc/apache2/ports.conf apt-get clean -y && rm -rf /var/lib/apt/lists/* echo "Done!"