Docker image maintenance, added new activity line
This commit is contained in:
parent
9fbb5dfe64
commit
119fd36a6c
4 changed files with 6 additions and 5 deletions
|
@ -107,5 +107,6 @@
|
||||||
"with chimps",
|
"with chimps",
|
||||||
"with the TF2 source code",
|
"with the TF2 source code",
|
||||||
"alvin the chipmunk nightcore",
|
"alvin the chipmunk nightcore",
|
||||||
"braaaaap"
|
"braaaaap",
|
||||||
|
"Schmelf?"
|
||||||
]
|
]
|
|
@ -8,7 +8,7 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"docker:build": "docker build -t headless-chrome-alpine --no-cache ./utils/screenshot",
|
"docker:build": "docker build -t headless-chrome-alpine --no-cache ./utils/screenshot",
|
||||||
"docker:run": "docker run --rm headless-chrome-alpine"
|
"docker:run": "docker run --rm --shm-size=128m headless-chrome-alpine"
|
||||||
},
|
},
|
||||||
"author": "Essem <essem@essem.space>",
|
"author": "Essem <essem@essem.space>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
FROM alpine:edge
|
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"
|
ENV ALL_PROXY "http://localhost:3128"
|
||||||
RUN echo -e "\nvisible_hostname esmBot\nforwarded_for delete\nvia off\nfollow_x_forwarded_for deny all \
|
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
|
RUN adduser esmBot -s /bin/sh -D
|
||||||
WORKDIR /home/esmBot/.internal
|
WORKDIR /home/esmBot/.internal
|
||||||
COPY . .
|
COPY ./start.sh .
|
||||||
RUN chmod +x start.sh
|
RUN chmod +x start.sh
|
||||||
RUN echo -e "\nesmBot ALL=(ALL) NOPASSWD:ALL\n" >> /etc/sudoers
|
RUN echo -e "\nesmBot ALL=(ALL) NOPASSWD:ALL\n" >> /etc/sudoers
|
||||||
USER esmBot
|
USER esmBot
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
sudo squid & chromium-browser \
|
sudo squid -N & chromium-browser \
|
||||||
--disable-background-networking \
|
--disable-background-networking \
|
||||||
--disable-default-apps \
|
--disable-default-apps \
|
||||||
--disable-extensions \
|
--disable-extensions \
|
||||||
|
|
Loading…
Reference in a new issue