-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
29 lines (17 loc) · 912 Bytes
/
Dockerfile
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
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 -y && apt-get install -y curl git innoextract make
WORKDIR /workdir
RUN curl -O https://download.adobe.com/pub/adobe/dng/win/AdobeDNGConverter_x64_15_1_1.exe
COPY . .
RUN make && make DESTDIR="${PWD}/pkg" install
FROM debian:bullseye-slim
RUN apt-get update -y && apt-get install -y wget
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
COPY --from=build /workdir/pkg /
ENTRYPOINT [ "dng" ]