tinkering with git commit logs being stored during build, and hit a BUG - back to functional, but cant do git yet

This commit is contained in:
2022-12-28 21:36:28 +11:00
parent dc80db45f8
commit ec95cbfd47
3 changed files with 7 additions and 4 deletions

View File

@@ -15,14 +15,16 @@ RUN truncate -s0 /tmp/preseed.cfg && \
apt-get install -y tzdata
## cleanup of files from setup
RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN apt-get update && apt-get -y install python3-pip python3-psycopg2 libpq-dev gunicorn mediainfo cmake libgl1-mesa-glx libglib2.0-0 python3-ldap libjpeg-turbo-progs ffmpeg git
RUN apt-get update && apt-get -y install python3-pip python3-psycopg2 libpq-dev gunicorn mediainfo cmake libgl1-mesa-glx libglib2.0-0 python3-ldap libjpeg-turbo-progs ffmpeg
COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt
RUN pip3 install --upgrade pillow --user
EXPOSE 443
EXPOSE 55432
COPY . .
RUN git log -n 5 > ./internal/git-log.txt
#RUN git log -n 5 > ./internal/git-log.txt
#RUN apt-get -y purge git
RUN rm -rf .git
RUN chown mythtv:mythtv /code
RUN chown mythtv:mythtv ./static
RUN chown mythtv:mythtv ./static/*