aaronpk / Compass

Compass is a GPS tracking server that stores data in flat files.
130 stars 30 forks source link

Docker for local development #31

Open lostfocus opened 6 years ago

lostfocus commented 6 years ago

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.

pirate commented 6 years ago

This looks basically perfect, thanks so much @lostfocus!

ReDetection commented 1 year ago

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

lostfocus commented 1 year ago

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?

ReDetection commented 1 year ago

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.