* Merging all my junk together. * Add more junk from other repos. * Fix missing hadolint. * Fixed names * Somehow, I missed out a lot of components * More jiggery pokery * More jiggery pokery * Ignore some hadolint warnings * Maybe fix build? * Split back up php Dockerfile. * dockerfile->file * Flavours environment issues * Fix flavours? * remove onbuilds. * Might be these quotes tripping it up. * Try without caching/buildx/qemu * OK it needs caching/buildx/qemu lol * remove build cache. * Put build caching back * Add octoprint bits * Add pulls. * Fix build order + linter. * rejig multistage builder to make hadolint happy(ier)
8 lines
347 B
Docker
8 lines
347 B
Docker
FROM benzine/php:nginx
|
|
COPY nginx.runit /etc/service/nginx/run
|
|
RUN wget -O /usr/local/bin/wp https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar && \
|
|
chmod +x /etc/service/nginx/run \
|
|
/usr/local/bin/wp \
|
|
&& \
|
|
echo "alias wp=\"wp --allow-root\"" >> /etc/bash.bashrc && \
|
|
wp --allow-root --version
|