2021-03-18 17:53:38 +02:00
|
|
|
FROM ubuntu:20.04
|
2021-03-17 19:07:04 +02:00
|
|
|
|
2021-03-18 08:57:33 +02:00
|
|
|
# Make sure that the underlying container is patched to the latest versions
|
2021-03-18 17:53:38 +02:00
|
|
|
RUN apt-get update && \
|
2021-03-19 17:09:19 +02:00
|
|
|
apt-get install -y gzip tar wget
|
2021-03-18 08:57:33 +02:00
|
|
|
|
|
|
|
# Now install Focalboard as a seperate layer
|
2021-03-19 10:25:21 +02:00
|
|
|
RUN wget https://github.com/mattermost/focalboard/releases/download/v0.6.1/focalboard-server-linux-amd64.tar.gz && \
|
2021-03-18 08:57:33 +02:00
|
|
|
tar -xvzf focalboard-server-linux-amd64.tar.gz && \
|
|
|
|
mv focalboard /opt
|
2021-03-17 19:07:04 +02:00
|
|
|
|
|
|
|
EXPOSE 8000
|
|
|
|
|
|
|
|
WORKDIR /opt/focalboard
|
|
|
|
|
|
|
|
CMD /opt/focalboard/bin/focalboard-server
|