@@ -4,7 +4,7 @@ LABEL org.opencontainers.image.title="Board for LinuxFr.org"
44LABEL org.opencontainers.image.description="Users of the LinuxFr.org website can chat on a space called the board (« la tribune » in french). \
55This Ruby daemon notifies the users when something is said with Server-Sent Event / EventSource."
66LABEL org.opencontainers.image.source="https://github.com/linuxfrorg/board-sse-linuxfr.org"
7- LABEL org.opencontainers.image.url="https://github.com/linuxfrorg/linuxfr.org/blob/master/Container.md "
7+ LABEL org.opencontainers.image.url="https://github.com/linuxfrorg/board-sse- linuxfr.org"
88LABEL org.opencontainers.image.licenses="AGPL-3.0-only"
99LABEL org.opencontainers.image.version="ruby3-bookworm"
1010LABEL org.opencontainers.image.authors="Adrien Dorsaz <adrien@adorsaz.ch>"
@@ -18,28 +18,22 @@ RUN \
1818 # Install dependencies \
1919 # and add curl to be used by the healthcheck defined in compose.yaml \
2020 apt-get install -y --no-install-recommends \
21- build-essential git ruby ruby-dev \
21+ build-essential ruby ruby-dev \
2222 curl; \
2323 apt-get clean;
2424
2525USER ${UID}
2626WORKDIR /linuxfr-board
2727ENV HOME=/linuxfr-board
2828
29- # Install board-linuxfr
30- # RUN gem install board-linuxfr -v '~> 0.1.4'
31-
32- # Temporary build board-linuxfr from sources
33- RUN git clone https://github.com/linuxfrorg/board-sse-linuxfr.org.git --branch ruby3 \
34- && cd board-sse-linuxfr.org \
35- && gem build board-linuxfr.gemspec \
36- && gem install ./board-linuxfr-*.gem
29+ # Install board-sse-linuxfr.org
30+ RUN gem install board-sse-linuxfr.org -v '~> 1.0.0'
3731
3832# Clean development dependencies
3933USER 0
40- RUN apt-get purge --autoremove -y build-essential git ruby-dev
34+ RUN apt-get purge --autoremove -y build-essential ruby-dev
4135
4236USER ${UID}
4337EXPOSE 9000
4438
45- CMD ["board-linuxfr" ]
39+ CMD ["board-sse- linuxfr.org " ]
0 commit comments