Compass icon indicating copy to clipboard operation
Compass copied to clipboard

Docker for local development

Open lostfocus opened this issue 7 years ago • 4 comments

I've thrown some docker config files and a few lines of readme together for local development after reading #30

I really hope nobody thinks this would be ready for public deployment but it works fine as a development setup.

lostfocus avatar Nov 10 '18 12:11 lostfocus

This looks basically perfect, thanks so much @lostfocus!

pirate avatar Nov 10 '18 17:11 pirate

Unfortunately, this does no longer work – Dockerfile buildscript can't install debian software anymore

ReDetection avatar Jan 10 '23 20:01 ReDetection

I haven't tried the setup for this project in quite some time, but I use a similar one with a more modern PHP version in other projects without any problem.

At which point does it stop and what is the error message?

lostfocus avatar Jan 10 '23 20:01 lostfocus

There were some warnings along the way so together with the final error it is:

W: GPG error: http://deb.debian.org jessie Release: The following signatures were invalid: KEYEXPIRED 1668891673
WARNING: The following packages cannot be authenticated!
  libpopt0 libxau6 libxcb1 libxext6 libxmuu1 less liberror-perl xauth
E: There are problems and -y was used without --force-yes
1 error occurred:
	* Status: The command '/bin/sh -c apt-get -y install sudo &&    apt-get -y install curl &&    apt-get -y install git &&    apt-get -y install zip unzip &&    apt-get -y install vim &&     apt-get -y install libicu-dev' returned a non-zero code: 100, Code: 100

So it does not even get to the phase where it builds the extensions.

However if I change php image to php:7.4-apache-bullseye, it works all the way up. I am just having some issues doing artisan migrate, but this I am going to dig in later.

ReDetection avatar Jan 11 '23 06:01 ReDetection