2021-03-18 16:53:38 +01:00
|
|
|
FROM ubuntu:20.04
|
2021-03-17 18:07:04 +01:00
|
|
|
|
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 && \
|
2021-03-19 16:09:19 +01:00
|
|
|
apt-get install -y gzip tar wget
|
2021-03-18 07:57:33 +01:00
|
|
|
|
|
|
|
# Now install Focalboard as a seperate layer
|
2021-03-19 09:25:21 +01:00
|
|
|
RUN wget https://github.com/mattermost/focalboard/releases/download/v0.6.1/focalboard-server-linux-amd64.tar.gz && \
|
2021-03-18 07:57:33 +01:00
|
|
|
tar -xvzf focalboard-server-linux-amd64.tar.gz && \
|
|
|
|
mv focalboard /opt
|
2021-03-17 18:07:04 +01:00
|
|
|
|
|
|
|
EXPOSE 8000
|
|
|
|
|
|
|
|
WORKDIR /opt/focalboard
|
|
|
|
|
|
|
|
CMD /opt/focalboard/bin/focalboard-server
|