Commit bf2cdcc3 authored by Dashamir Hoxha's avatar Dashamir Hoxha

Update dbox from bionic to focal

parent 6358c120
include(bionic)
include(focal)
### install some other packages
RUN apt install --yes git wget curl unzip gawk make diffutils
......@@ -10,14 +10,15 @@ RUN apt install --yes software-properties-common && \
### install lamp
RUN DEBIAN_FRONTEND=noninteractive \
apt install --yes apache2 mysql-client php7.1 php7.1-mysql \
php7.1-gd php7.1-db php7.1-dev php-pear php7.1-curl \
php7.1-apcu php7.1-xml php7.1-mbstring php7.1-uploadprogress
RUN update-alternatives --set php /usr/bin/php7.1
#RUN a2dismod php7.3 && a2enmod php7.1
apt install --yes apache2 libapache2-mod-php7.4 mysql-client php7.4 php7.4-mysql \
php7.4-gd php7.4-dba php7.4-dev php-pear php7.4-curl php7.4-zip php7.4-cli \
php-apcu php7.4-xml php7.4-mbstring php7.4-gmp php7.4-intl php7.4-xmlrpc
RUN update-alternatives --set php /usr/bin/php7.4
#RUN a2dismod php7.3 && a2enmod php7.4
### install drush
RUN wget https://github.com/drush-ops/drush/releases/download/8.1.16/drush.phar && \
RUN wget https://github.com/drush-ops/drush/releases/download/8.3.5/drush.phar && \
chmod +x drush.phar && \
mv drush.phar /usr/local/bin/drush && \
drush --yes init
......@@ -26,10 +27,6 @@ RUN wget https://github.com/drush-ops/drush/releases/download/8.1.16/drush.phar
RUN apt install --yes npm && \
npm install -g less
### install hub: http://hub.github.com/
RUN curl http://hub.github.com/standalone -sLo /bin/hub && \
chmod +x /bin/hub
### install twitter cli client
### see: http://xmodulo.com/2013/12/access-twitter-command-line-linux.html
RUN apt -y install ruby ruby-dev && \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment