-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Raitis Rasmanis
committed
Aug 7, 2020
0 parents
commit 1c9ab80
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
FROM debian:stable | ||
LABEL maintainer "[email protected]" | ||
|
||
# UPDATE packages and install essentials | ||
RUN apt-get update \ | ||
&& apt-get -y upgrade \ | ||
&& apt-get -y install curl wget build-essential apt-transport-https software-properties-common tzdata unzip bzip2 cron vim lsb-release ca-certificates nginx \ | ||
&& apt-get install -y nasm pkg-config libpng-dev automake libtool autoconf \ | ||
# Set Europe/Riga timezone | ||
&& ln -fs /usr/share/zoneinfo/Europe/Riga /etc/localtime && dpkg-reconfigure -f noninteractive tzdata | ||
|
||
# PHP 7.4 | ||
RUN wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg \ | ||
&& echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/php.list \ | ||
&& apt-get update \ | ||
&& apt-get install -y php7.4-fpm php7.4-mbstring php7.4-gd php7.4-bcmath php7.4-zip php7.4-xml php7.4-curl php7.4-intl php7.4-memcached php7.4-imap php7.4-pgsql php7.4-soap | ||
|
||
# COMPOSER | ||
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \ | ||
&& php composer-setup.php \ | ||
&& php -r "unlink('composer-setup.php');" \ | ||
&& mv composer.phar /usr/local/bin/composer \ | ||
&& composer global require hirak/prestissimo | ||
|
||
# NODE & NPM | ||
RUN curl -sL https://deb.nodesource.com/setup_lts.x | bash - \ | ||
&& apt-get install -y nodejs && apt-get install -y build-essential | ||
|
||
|
||
CMD ["/bin/bash"] |