feat: add support for building in docker
This commit is contained in:
23
Dockerfile
Normal file
23
Dockerfile
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
FROM debian:bookworm-slim
|
||||||
|
RUN apt update
|
||||||
|
# Install required packages
|
||||||
|
RUN apt install --yes \
|
||||||
|
bash \
|
||||||
|
coreutils \
|
||||||
|
rsync \
|
||||||
|
xsltproc \
|
||||||
|
libxml2-utils \
|
||||||
|
sed \
|
||||||
|
findutils \
|
||||||
|
grep \
|
||||||
|
make \
|
||||||
|
libc-bin \
|
||||||
|
wget \
|
||||||
|
procps \
|
||||||
|
python3 \
|
||||||
|
python3-bs4
|
||||||
|
|
||||||
|
WORKDIR /fsfe-websites
|
||||||
|
ENTRYPOINT ["bash", "./build.sh" ]
|
||||||
|
|
||||||
|
|
15
docker-compose.yml
Normal file
15
docker-compose.yml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
services:
|
||||||
|
build:
|
||||||
|
build: .
|
||||||
|
image: fsfe-websites
|
||||||
|
container_name: fsfe-websites
|
||||||
|
command:
|
||||||
|
ports:
|
||||||
|
- 2000:2000
|
||||||
|
- 2100:2100
|
||||||
|
- 2200:2200
|
||||||
|
- 2300:2300
|
||||||
|
- 2400:2400
|
||||||
|
- 2500:2500
|
||||||
|
volumes:
|
||||||
|
- ./:/fsfe-websites
|
Reference in New Issue
Block a user