@@ -4,7 +4,7 @@ LABEL org.opencontainers.image.title="Board for LinuxFr.org"
4
4
LABEL org.opencontainers.image.description="Users of the LinuxFr.org website can chat on a space called the board (« la tribune » in french). \
5
5
This Ruby daemon notifies the users when something is said with Server-Sent Event / EventSource."
6
6
LABEL 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"
8
8
LABEL org.opencontainers.image.licenses="AGPL-3.0-only"
9
9
LABEL org.opencontainers.image.version="ruby3-bookworm"
10
10
LABEL org.opencontainers.image.authors=
"Adrien Dorsaz <[email protected] >"
@@ -18,28 +18,22 @@ RUN \
18
18
# Install dependencies \
19
19
# and add curl to be used by the healthcheck defined in compose.yaml \
20
20
apt-get install -y --no-install-recommends \
21
- build-essential git ruby ruby-dev \
21
+ build-essential ruby ruby-dev \
22
22
curl; \
23
23
apt-get clean;
24
24
25
25
USER ${UID}
26
26
WORKDIR /linuxfr-board
27
27
ENV HOME=/linuxfr-board
28
28
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'
37
31
38
32
# Clean development dependencies
39
33
USER 0
40
- RUN apt-get purge --autoremove -y build-essential git ruby-dev
34
+ RUN apt-get purge --autoremove -y build-essential ruby-dev
41
35
42
36
USER ${UID}
43
37
EXPOSE 9000
44
38
45
- CMD ["board-linuxfr" ]
39
+ CMD ["board-sse- linuxfr.org " ]
0 commit comments