Compare commits

..

No commits in common. "fceef625569788b50c3f2924e713f316ab7f8894" and "4a1e57a9b3dfeeb61b6d09dab1d855988454b797" have entirely different histories.

3 changed files with 1 additions and 27 deletions

View File

@ -57,10 +57,3 @@ jobs:
context: jumphost
push: true
tags: git.domainforge.de/public/jumphost:latest
- name: Build and push AoCBot Container
uses: docker/build-push-action@v2
with:
context: aocbot
push: true
tags: git.domainforge.de/public/aocbot:latest

View File

@ -1,19 +0,0 @@
FROM python:3.12.7-slim-bookworm
RUN apt-get update && \
apt-get -y upgrade && \
apt-get -y --purge autoremove && \
apt-get -y install python3 python3-venv git && \
apt-get -y clean && \
sed -i 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
locale-gen && \
groupadd -g 1000 aocbot && \
useradd -d /opt/aocbot -m -s /bin/bash -u 1000 -g 1000 aocbot && \
git clone https://git.domainforge.de/pennywise/aocbot.git /opt/aocbot && \
python3 -m venv /opt/venv && \
/opt/venv/bin/pip install -r /opt/aocbot/requirements.txt && \
chown -R 1000:1000 /opt/aocbot
USER 1000
CMD ["/opt/venv/bin/python3", "/opt/aocbot/aoc_bot.py"]

View File

@ -7,7 +7,7 @@ COPY supervisord.conf /etc/supervisord.conf
RUN apt-get update && \
apt-get -y upgrade && \
apt-get -y --purge autoremove && \
apt-get -y install python3 python3-venv bsdgames bind9-dnsutils irssi less neomutt postfix ssh supervisor tmux vim w3m wget && \
apt-get -y install wget python3 python3-venv bsdgames bind9-dnsutils irssi neomutt ssh supervisor tmux vim w3m && \
apt-get -y clean && \
sed -i 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
locale-gen && \