-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathDockerfile
20 lines (18 loc) · 942 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM ubuntu:jammy
MAINTAINER iconik Media AB <[email protected]>
RUN apt-get update && \
apt-get install -y ffmpeg imagemagick poppler-utils ghostscript dcraw exiftool locales && rm -rf /var/lib/apt/lists/* \
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
ENV LANG en_US.utf8
ARG REPO_BASE=https://packages.iconik.io/deb/ubuntu
RUN apt-get update && apt-get install -y wget gnupg && \
wget -O - ${REPO_BASE}/dists/jammy/iconik_package_repos_pub.asc | apt-key add - && \
echo "deb [trusted=yes] ${REPO_BASE} ./jammy main" > /etc/apt/sources.list.d/iconik.list && \
apt-get update && \
apt-get install -y iconik-storage-gateway
VOLUME /var/iconik/iconik_storage_gateway/data
CMD /opt/iconik/iconik_storage_gateway/iconik_storage_gateway \
--iconik-url=${ICONIK_URL:-https://app-lb.iconik.io/} \
--auth-token=${AUTH_TOKEN} \
--app-id=${APP_ID} \
--storage-id=${STORAGE_ID}