Skip to content

Commit

Permalink
Merge pull request #3 from alan-turing-institute/fix-filepermissions
Browse files Browse the repository at this point in the history
Fix file permissions
  • Loading branch information
jemrobinson authored Apr 29, 2024
2 parents 37a4f70 + c9c5c2d commit 838663b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ RUN mkdir -p /app/allowlists && \
rm -rf /etc/squid-deb-proxy/mirror-dstdomain.acl.d && \
ln -sf /app/allowlists /etc/squid-deb-proxy/mirror-dstdomain.acl.d

# Set correct file permissions
RUN touch /var/log/squid-deb-proxy/access.log && \
touch /var/log/squid-deb-proxy/cache.log && \
touch /var/log/squid-deb-proxy/store.log && \
chown -R proxy:proxy /var/log/squid-deb-proxy

EXPOSE 8000/tcp

ENTRYPOINT ["/app/entrypoint.sh"]

0 comments on commit 838663b

Please sign in to comment.