-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
38 lines (32 loc) · 775 Bytes
/
Dockerfile
File metadata and controls
38 lines (32 loc) · 775 Bytes
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
FROM hackinglab/alpine-base-hl:latest
LABEL maintainer="Ivan Buetler <ivan.buetler@hacking-lab.com>"
# Add the files
ADD root /
RUN apk add --no-cache --update nginx \
vim \
curl \
nginx \
expect \
openssl \
shadow \
php83-common \
php83-cli \
php83-phar \
php83 \
php83-fileinfo \
php83-fpm \
php83-json \
php83-mbstring \
php83-openssl \
php83-session \
php83-simplexml \
php83-xml \
php83-xmlwriter \
php83-zlib \
php83-ldap \
php83-zip && \
rm -rf /var/cache/apk/* && \
chown -R nginx:www-data /var/lib/nginx && \
chown -R nginx:www-data /opt/www
# Expose the ports for nginx
EXPOSE 80