Open nzbart opened 3 years ago
yes -- it is eleven years old tho, and not in mordern styles
I got something running in a Docker container, but I'm not sure of how the legislation
repo links into the legislation_pull
one vs. the similar looking www.legislation.govt.nz
subdirectory vs. the repo
directory that files are downloaded into. I note that the script appears to download version numbers, and it's busy committing code, but I'm not sure if it's still working as it used to.
Anyway, I'll leave this Dockerfile here in case I get a chance to look at it again in the future. I've been toying with the idea you started here for quite a while now.
# syntax = docker/dockerfile:1.0-experimental
FROM debian:10
WORKDIR /app
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get install -y php php-xml git
RUN git config --global user.name "Example User" && git config --global user.email "test@example.com"
COPY . .
ENTRYPOINT [ "php", "./index.php" ]
Do you still have the source code for the software that you used to update this repo?