Comments (3)
Thanks @dsavell and apologies for not replying much sooner when I realised my request was misguided. This is indeed necessarily part of the build process and not an option at runtime. New image tags would be the only way to provide optional PHP libraries. These would be limited to common combinations and are not a proper parameterised solution.
from docker-grav.
I use the git-sync plugin. I modified the Dockerfile to install git, and modified the init script to do a git clone using ENV vars for the repo/user/pass. This way the same container image can be called multiple times to pull up different sites in each container. git-sync commits everything in user
, which includes user/plugins
and user/themes
.
PHP libraries would need to be added to the Dockerfile.
from docker-grav.
Hello, will give some brief answers.
- PHP libs will require a custom image built from the Dockerfiles as it changes the operating system layer.
- Plugins and themes or any user specific data can be retained when pulling and rerunning a new image by using the following mount input:
-v /data/containers/grav/user:/var/www/grav/user
from docker-grav.
Related Issues (20)
- admin tag should inherit from core.
- Reading nginx logs HOT 2
- Adding an editor HOT 6
- Update Grav to 1.6.20 HOT 2
- Convert To Base Images
- Nginx/PHP server name HOT 5
- Chmod errors on startup because of topic names with spaces HOT 2
- upgrade to php7.4
- Should permissions be fresh install task only? HOT 1
- stderr does not work HOT 3
- Unable to upload images HOT 4
- Problem in Accessing HOT 2
- Can't Install ANY themes and can't install some plugins!!! HOT 8
- Build multi-arch (supporting ARM64) versions HOT 2
- Unable to `su` as user xyz HOT 2
- Dependency Dashboard
- Manifest for dsavell/grav:latest not found: manifest unknown HOT 4
- Unable to exec bin/grav install on containers, git missing HOT 5
- Unrecognized services HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-grav.