Skip to content

Commit 86d094e

Browse files
Merge pull request #62 from weierophinney/feature/provisioning-update
Update provisioning tools
2 parents c68d6d4 + a93f7fa commit 86d094e

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
# docker build -f Dockerfile-dev -t api-tools .
2222
# docker run -it -p "8080:80" -v $PWD:/var/www api-tools
2323
#
24-
FROM composer:2.3.5 AS get-composer
25-
FROM php:8.0-apache
24+
FROM composer:2 AS get-composer
25+
FROM php:8.2-apache
2626

2727
RUN apt-get update \
2828
&& apt-get install -y git libzip-dev libicu-dev \

Vagrantfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@ VAGRANTFILE_API_VERSION = '2'
55

66
@script = <<SCRIPT
77
# Install dependencies
8+
LC_ALL=C.UTF-8
89
apt-get update
9-
apt-get install -y apache2 git curl php7.0 php7.0-bcmath php7.0-bz2 php7.0-cli php7.0-curl php7.0-intl php7.0-json php7.0-mbstring php7.0-opcache php7.0-soap php7.0-sqlite3 php7.0-xml php7.0-xsl php7.0-zip libapache2-mod-php7.0
10+
apt-get install software-properties-common ca-certificates lsb-release apt-transport-https
11+
add-apt-repository ppa:ondrej/php
12+
apt-get install -y apache2 git curl php8.2 php8.2-bcmath php8.2-bz2 php8.2-cli php8.2-curl php8.2-intl php8.2-mbstring php8.2-opcache php8.2-soap php8.2-sqlite3 php8.2-xml php8.2-xsl php8.2-zip libapache2-mod-php8.2
1013
1114
# Configure Apache
1215
echo "<VirtualHost *:80>
@@ -44,7 +47,7 @@ echo "** [Laminas] Visit http://localhost:8080 in your browser for to view the a
4447
SCRIPT
4548

4649
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
47-
config.vm.box = 'bento/ubuntu-16.04'
50+
config.vm.box = 'bento/ubuntu-22.04'
4851
config.vm.network "forwarded_port", guest: 80, host: 8080
4952
config.vm.synced_folder '.', '/var/www', owner: "www-data", group: "www-data"
5053
config.vm.provision 'shell', inline: @script

0 commit comments

Comments
 (0)