Upload files to "/"
This commit is contained in:
parent
a3b79a6af4
commit
46e2488d10
16
readme.md
16
readme.md
@ -1,3 +1,19 @@
|
||||
mkdir openfire
|
||||
cd openfire
|
||||
|
||||
nano Dockerfile
|
||||
FROM ubuntu:latest
|
||||
RUN apt update && apt install -y wget nano gnupg default-jdk systemctl
|
||||
|
||||
RUN wget https://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_4.7.5_all.deb -O openfire.deb
|
||||
RUN dpkg --install openfire.deb
|
||||
|
||||
COPY start_openfire.sh /usr/local/bin/
|
||||
RUN chmod +x /usr/local/bin/start_openfire.sh
|
||||
ENTRYPOINT ["/usr/local/bin/start_openfire.sh"]
|
||||
|
||||
|
||||
|
||||
sudo docker load -i openfire-image.tar
|
||||
|
||||
sudo docker run -it --name openfire -d --restart=always \
|
||||
|
Loading…
x
Reference in New Issue
Block a user