-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathContainerfile
48 lines (43 loc) · 1.07 KB
/
Containerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
FROM debian:latest
LABEL author=stifstof
RUN apt-get update
RUN apt-get install -qy \
curl \
ca-certificates \
sudo \
libxkbfile1 \
gvfs-bin \
libglib2.0-bin \
trash-cli \
kde-cli-tools \
libatspi2.0-0 \
xdg-utils \
libxtst6 \
libxss1 \
libnss3 \
libnotify4 \
git \
libayatana-appindicator3-1 \
libgtk-3-0 \
libpci-dev \
firefox-esr \
wget \
libgl1 \
mesa-utils \
libgl1-mesa-glx
# Install the client .deb (Script modifies broken Dependency in Debian 11)
# ARG SLACK_URL=https://downloads.slack-edge.com/linux_releases/slack-desktop-4.19.2-amd64.deb
# RUN curl -sSL $SLACK_URL -o /tmp/slack.deb
COPY docker/slack-desktop-4.23.0-amd64.deb /tmp/slack.deb
COPY docker/install_slack.sh .
RUN ./install_slack.sh /tmp/slack.deb
RUN apt-get update -y
RUN apt-get upgrade -y slack-desktop
COPY host-scripts/ /var/cache/slack-desktop/
COPY entrypoint.sh /sbin/entrypoint.sh
RUN chmod 755 /sbin/entrypoint.sh
# Cleanup
RUN rm /tmp/slack.deb \
&& rm -rf docker/install_slack.sh \
&& rm -rf /var/lib/apt/lists/*
ENTRYPOINT ["/sbin/entrypoint.sh"]