timgremore
commited on
Commit
•
db17066
1
Parent(s):
93a12e1
chore: Organize Dockerfile by app feature
Browse files- Dockerfile +16 -2
Dockerfile
CHANGED
@@ -72,11 +72,25 @@ RUN mix release
|
|
72 |
FROM ${RUNNER_IMAGE}
|
73 |
|
74 |
RUN apt-get update -y && \
|
75 |
-
apt-get install -y libstdc++6 openssl libncurses5 locales ca-certificates \
|
76 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
77 |
libatspi2.0-0 libcups2 libgtk-3-0 libnspr4 libnss3 libu2f-udev libxcomposite1 wget xdg-utils \
|
78 |
&& apt-get clean && rm -f /var/lib/apt/lists/*_*
|
79 |
|
|
|
80 |
RUN curl -LO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
81 |
RUN apt-get install -y ./google-chrome-stable_current_amd64.deb \
|
82 |
&& apt-get clean && rm -f ./google-chrome-stable_current_amd64.deb
|
|
|
72 |
FROM ${RUNNER_IMAGE}
|
73 |
|
74 |
RUN apt-get update -y && \
|
75 |
+
apt-get install -y libstdc++6 openssl libncurses5 locales ca-certificates curl unzip \
|
76 |
+
&& apt-get clean && rm -f /var/lib/apt/lists/*_*
|
77 |
+
|
78 |
+
RUN apt-get update -y && \
|
79 |
+
apt-get install -y postgresql-client \
|
80 |
+
&& apt-get clean && rm -f /var/lib/apt/lists/*_*
|
81 |
+
|
82 |
+
# Install streaming audio dependencies
|
83 |
+
RUN apt-get update -y && \
|
84 |
+
apt-get install -y ffmpeg libasound2-dev portaudio19-dev \
|
85 |
+
&& apt-get clean && rm -f /var/lib/apt/lists/*_*
|
86 |
+
|
87 |
+
# Install Chrome dependencies
|
88 |
+
RUN apt-get update -y && \
|
89 |
+
apt-get install -y fonts-liberation libatk-bridge2.0-0 libatk1.0-0 \
|
90 |
libatspi2.0-0 libcups2 libgtk-3-0 libnspr4 libnss3 libu2f-udev libxcomposite1 wget xdg-utils \
|
91 |
&& apt-get clean && rm -f /var/lib/apt/lists/*_*
|
92 |
|
93 |
+
# Chrome is used for PDF generation - ChromicPDF library
|
94 |
RUN curl -LO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
95 |
RUN apt-get install -y ./google-chrome-stable_current_amd64.deb \
|
96 |
&& apt-get clean && rm -f ./google-chrome-stable_current_amd64.deb
|