focalboard/docker/Dockerfile

18 lines
528 B
Text
Raw Normal View History

2021-03-18 16:53:38 +01:00
FROM ubuntu:20.04
2021-03-18 07:57:33 +01:00
# Make sure that the underlying container is patched to the latest versions
2021-03-18 16:53:38 +01:00
RUN apt-get update && \
apt-get install -y file gzip tar unzip wget
2021-03-18 07:57:33 +01:00
# Now install Focalboard as a seperate layer
RUN wget https://releases.mattermost.com/focalboard/0.5.0/focalboard-server-linux-amd64.tar.gz && \
unzip -o focalboard-server-linux-amd64.tar.gz && \
tar -xvzf focalboard-server-linux-amd64.tar.gz && \
mv focalboard /opt
EXPOSE 8000
WORKDIR /opt/focalboard
CMD /opt/focalboard/bin/focalboard-server