-
Notifications
You must be signed in to change notification settings - Fork 8
/
DockerfileAlpine
42 lines (35 loc) · 1 KB
/
DockerfileAlpine
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
## Start from the official Alpine image
FROM alpine:3.17
LABEL maintainer="MDW <[email protected]>"
## Set environment variables
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
# Using Chromium, Firefox not available on Alpine Linux
# Might benefit from `mesa-dri-swrast` module
RUN apk add --no-cache \
py-urllib3 \
py3-colorama \
xvfb \
py3-pip \
xorg-server-xephyr \
xclip \
chromium-chromedriver \
chromium \
py3-openssl \
py3-pysocks \
py3-wsproto \
py3-requests \
py3-sniffio \
py3-async_generator \
py3-sortedcontainers \
py3-attrs \
py3-outcome \
py3-trio \
py3-paho-mqtt \
py3-pyperclip \
&& pip install \
'urllib3>=1.24.2' \
'colorama>=0.3.7' \
'selenium>=3.14.1' \
'PyVirtualDisplay>=0.2.4' \
'requests>=2.23.0'
RUN addgroup -g 1000 docker && adduser -D -u 1000 -G docker docker && apk add alpine-conf && setup-keymap fr fr