Skip to content

Conversation

@milefork
Copy link

docker-entrypoint.sh : the new sampleconfig.sh is gzipped so extract it

Should now work.

docker-entrypoint.sh : the new sampleconfig.sh is gzipped so extract it
@larskanis
Copy link
Contributor

Thank you all! I'm able to run openxpki per docker, this way.

sh /etc/openxpki/customconfig.sh
elif [ -f "/usr/share/doc/libopenxpki-perl/examples/sampleconfig.sh.gz" ]; then
echo "Found no custom customconfig.sh - using default compressed sampleconfig.sh.gz from /usr/share/doc/libopenxpki-perl/examples/sampleconfig.sh"
gunzip /usr/share/doc/libopenxpki-perl/examples/sampleconfig.sh.gz
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to change this line to

gunzip < /usr/share/doc/libopenxpki-perl/examples/sampleconfig.sh.gz > /usr/share/doc/libopenxpki-perl/examples/sampleconfig.sh

Otherwise gunzip complained about hard links on this file (at least with overlay storage driver).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants