File tree 1 file changed +9
-12
lines changed
1 file changed +9
-12
lines changed Original file line number Diff line number Diff line change @@ -4,27 +4,24 @@ FROM debian:stable-slim
4
4
5
5
LABEL maintainer=
"@ManuelLR <[email protected] >"
6
6
7
- ENV GIT_URL https://github.com/lupoDharkael /flameshot.git
8
- ENV GIT_BRANCH v0.6.0
7
+ ENV GIT_URL https://github.com/flameshot-org /flameshot.git
8
+ ENV GIT_BRANCH v0.8.1
9
9
10
- ENV BUILD_PACKAGES git g++ build-essential qt5-qmake qt5- default qttools5-dev-tools libqt5svg5-dev
11
- ENV RUNTIME_PACKAGES libqt5dbus5 libqt5network5 libqt5core5a libqt5widgets5 libqt5gui5 openssl ca-certificates
10
+ ENV BUILD_PACKAGES git g++ cmake build-essential qt5-default qttools5-dev-tools libqt5svg5-dev qttools5-dev ca-certificates
11
+ ENV RUNTIME_PACKAGES libqt5dbus5 libqt5network5 libqt5core5a libqt5widgets5 libqt5gui5 libqt5svg5 openssl ca-certificates
12
12
13
13
ENV DEBIAN_FRONTEND=noninteractive
14
14
15
- WORKDIR /usr/src/
16
-
17
15
RUN set -x \
18
16
&& apt update \
19
- && apt install -y $BUILD_PACKAGES \
20
- && cd /usr/src / \
17
+ && apt install -y --no-install-recommends $BUILD_PACKAGES \
18
+ && cd /tmp / \
21
19
&& git clone $GIT_URL flameshot --branch $GIT_BRANCH \
22
20
&& cd flameshot \
23
- && qmake && make -j 3 && make install && make clean \
21
+ && cmake . && make -j 3 && make install && make clean \
22
+ && rm -rf /tmp/flameshot \
24
23
&& apt-get remove --purge --auto-remove -y $BUILD_PACKAGES \
25
- && apt-get install -y $RUNTIME_PACKAGES \
24
+ && apt-get install -y --no-install-recommends $RUNTIME_PACKAGES \
26
25
&& rm -rf /var/lib/apt/lists/*
27
26
28
- RUN ln -s /usr/src/flameshot /usr/bin/flameshot
29
-
30
27
CMD flameshot
You can’t perform that action at this time.
0 commit comments