mirror of
https://github.com/pragma-/pbot.git
synced 2026-02-20 08:18:00 +01:00
So close.
This commit is contained in:
parent
6587771348
commit
9506b6d95c
@ -1,7 +1,7 @@
|
||||
FROM perl:5.34
|
||||
|
||||
# Install system dependencies.
|
||||
RUN apt-get update && apt-get install -y clang gcc clang g++ tcl ghc git cpanminus dos2unix policykit-1
|
||||
RUN apt-get update && apt-get install -y clang gcc clang g++ tcl ghc git cpanminus dos2unix policykit-1 fortune-mod
|
||||
|
||||
# Need the sources.
|
||||
COPY . /opt/pbot
|
||||
@ -28,9 +28,13 @@ RUN sed -i -e "s/\"cid\" : 7,/\"cid\" : 2,/g" /opt/pbot/applets/pbot-vm/host/con
|
||||
|
||||
# Permissions on some folders.
|
||||
RUN chmod 777 /opt/pbot/applets/pbot-vm/host/history
|
||||
RUN chmod 777 /opt/pbot/applets/pbot-vm/host/bin
|
||||
RUN touch /opt/pbot/applets/pbot-vm/host/log.txt
|
||||
RUN chmod 666 /opt/pbot/applets/pbot-vm/host/log.txt
|
||||
|
||||
# Fortunes
|
||||
RUN ln -s /usr/games/fortune /usr/bin/fortune
|
||||
|
||||
# Setup the guest.
|
||||
RUN cd /opt/pbot/applets/pbot-vm && ./guest/bin/setup-guest
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user