php 8.1-8.3, IP gateaway et local ENV pip install

This commit is contained in:
Scroze 2024-06-12 11:32:32 +02:00
parent b809365e0e
commit e120a97416
3 changed files with 24 additions and 22 deletions

View File

@ -8,6 +8,8 @@ FROM alpine:latest
WORKDIR /home/attaquant WORKDIR /home/attaquant
ENV PIP_BREAK_SYSTEM_PACKAGES 1
RUN adduser -D attaquant RUN adduser -D attaquant
RUN apk add \ RUN apk add \

View File

@ -1,11 +1,11 @@
# #
# SPDX-FileCopyrightText: 2023 Afnic # SPDX-FileCopyrightText: 2023 Afnic
# #
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
# #
version: '3.8' version: '3.8'
name: 'spf-dkim-dmarc-workshop' # name: 'spf-dkim-dmarc-workshop'
services: services:
frontend: frontend:
@ -52,7 +52,7 @@ services:
- 172.31.0.53 - 172.31.0.53
networks: networks:
internal: internal:
ipv4_address: 172.31.10.1 ipv4_address: 172.31.0.20
ipv6_address: fd4a:8c4:c28b:1000::1 ipv6_address: fd4a:8c4:c28b:1000::1
recipient: recipient:
@ -84,7 +84,7 @@ networks:
ipam: ipam:
driver: default driver: default
config: config:
- subnet: 172.31.10.0/16 - subnet: 172.31.0.0/16
- subnet: fd4a:8c4:c28b::/48 - subnet: fd4a:8c4:c28b::/48
external: external:

View File

@ -7,12 +7,12 @@
FROM alpine:latest AS roundcube-build FROM alpine:latest AS roundcube-build
RUN apk add composer \ RUN apk add composer \
php81-ctype \ php83-ctype \
php81-dom \ php83-dom \
php81-ldap \ php83-ldap \
php81-tokenizer \ php83-tokenizer \
php81-xml \ php83-xml \
php81-xmlwriter php83-xmlwriter
RUN install -d /var/www/roundcubemail RUN install -d /var/www/roundcubemail
@ -40,18 +40,18 @@ RUN apk add \
nano-syntax \ nano-syntax \
opendkim \ opendkim \
opendmarc \ opendmarc \
php81-apache2 \ php83-apache2 \
php81-ctype \ php83-ctype \
php81-dom \ php83-dom \
php81-intl \ php83-intl \
php81-mbstring \ php83-mbstring \
php81-openssl\ php83-openssl\
php81-pdo \ php83-pdo \
php81-pdo_sqlite \ php83-pdo_sqlite \
php81-session \ php83-session \
php81-tokenizer \ php83-tokenizer \
php81-xml \ php83-xml \
php81-xmlwriter \ php83-xmlwriter \
postfix \ postfix \
postfix-policyd-spf-perl \ postfix-policyd-spf-perl \
s6-overlay \ s6-overlay \