-
Notifications
You must be signed in to change notification settings - Fork 11
declare volumes #36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
declare volumes #36
Conversation
to create the persistent data from the image when volume is empty
multiple architecture build arg
used linked directories for persistent data
copy postfix config on data volume
CHARACTER SET latin1 fix for postfixadmin migrations setup
… since upstream updates the package regularly the version number should be a build-time env variable. or use an official postfix image versioned accordingly and use it with FROM
Hello @nelu - Thanks for your contribution. Some comments:
Sorry for the very late response to your request. |
PFA is an optional component that users might install or not. -- its present in the build imagine its more like enabling it or not based on user preference, you can run a cli php script to populate the db from pfa -- make postfix package version optional - Disagree. The version must be in there as scripts and configuration depend on the correct version of Postfix. Experiences show that a Dockerfile without it is prone to different image results every time it is built. -- it breaks the docker build since those versions used at build time get removed compared to the distro ones which come with the same default config on newer version and its the right step towards multiarch build -- using a postfix version that was tested on multiple hardware/distros/users -- regarding multiarch builds, should work without any trouble, since most of the configs are rewriten. debian arm64 is an almost replica of amd64. its nice to run it on new high end routers or rasbperry pi which can run docker. i tested it running openwrt on https://www.gl-inet.com/products/gl-mt6000/ |
Reopened to follow up on your contribution. Hi all, thanks for your comments. I will add the SQL setup then as optional - configurable via environment, defaulting to yes. The Dockerfile changes: I need to test with my own build and publish process. In case of issues, we can add an additional Dockerfile for other architectures. |
Uh oh!
There was an error while loading. Please reload this page.