forked from thorpelawrence/dng
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.debian
More file actions
40 lines (28 loc) · 1.12 KB
/
Copy pathDockerfile.debian
File metadata and controls
40 lines (28 loc) · 1.12 KB
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
FROM rust:1-slim-bullseye AS build
RUN echo "deb [trusted=yes] http://download.opensuse.org/repositories/home:dscharrer/Debian_11/ /" >> /etc/apt/sources.list
RUN apt-get update && apt-get install -y \
curl \
git \
innoextract \
make \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /workdir
ARG ADOBE_DNG_CONVERTER=AdobeDNGConverter_x64_15_1_1.exe
RUN curl -O https://download.adobe.com/pub/adobe/dng/win/${ADOBE_DNG_CONVERTER}
COPY . .
RUN make && make DESTDIR="${PWD}/pkg" install
FROM debian:bullseye-slim
RUN apt-get update && apt-get install -y \
wget \
xvfb \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -pm755 /etc/apt/keyrings && \
wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key && \
wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/bullseye/winehq-bullseye.sources
RUN dpkg --add-architecture i386 && \
apt-get update -y && \
apt-get install -y --install-recommends \
winehq-stable \
&& rm -rf /var/lib/apt/lists/*
COPY --from=build /workdir/pkg /
ENTRYPOINT [ "dng" ]