Docker image maintenance, added new activity line

This commit is contained in:
TheEssem 2020-05-25 15:36:53 -05:00
parent 9fbb5dfe64
commit 119fd36a6c
4 changed files with 6 additions and 5 deletions

View file

@ -4,7 +4,7 @@
FROM alpine:edge
RUN apk --no-cache upgrade && apk add --no-cache chromium squid sudo
RUN apk --no-cache upgrade && apk add --no-cache chromium squid sudo libstdc++ harfbuzz nss freetype ttf-freefont wqy-zenhei zlib-dev wait4ports dbus chromium-chromedriver grep
ENV ALL_PROXY "http://localhost:3128"
RUN echo -e "\nvisible_hostname esmBot\nforwarded_for delete\nvia off\nfollow_x_forwarded_for deny all \
@ -13,7 +13,7 @@ COPY ./ERR_DNS_FAIL /usr/share/squid/errors/en/
RUN adduser esmBot -s /bin/sh -D
WORKDIR /home/esmBot/.internal
COPY . .
COPY ./start.sh .
RUN chmod +x start.sh
RUN echo -e "\nesmBot ALL=(ALL) NOPASSWD:ALL\n" >> /etc/sudoers
USER esmBot

View file

@ -1,4 +1,4 @@
sudo squid & chromium-browser \
sudo squid -N & chromium-browser \
--disable-background-networking \
--disable-default-apps \
--disable-extensions \