File tree 2 files changed +13
-8
lines changed
2 files changed +13
-8
lines changed Original file line number Diff line number Diff line change 1
- FROM bitnami/minideb:stretch
1
+ FROM debian:stable-slim
2
+ # FROM bitnami/minideb:stretch
2
3
# FROM bitnami/minideb:jessie
3
4
4
5
LABEL maintainer=
"@ManuelLR <[email protected] >"
5
6
6
7
ENV GIT_URL https://github.com/lupoDharkael/flameshot.git
7
- ENV GIT_BRANCH v0.5.1
8
+ ENV GIT_BRANCH v0.6.0
8
9
9
- ENV BUILD_PACKAGES git g++ build-essential qt5-qmake qt5-default qttools5-dev-tools
10
+ ENV BUILD_PACKAGES git g++ build-essential qt5-qmake qt5-default qttools5-dev-tools libqt5svg5-dev
10
11
ENV RUNTIME_PACKAGES libqt5dbus5 libqt5network5 libqt5core5a libqt5widgets5 libqt5gui5 openssl ca-certificates
11
12
12
13
ENV DEBIAN_FRONTEND=noninteractive
13
14
14
15
WORKDIR /usr/src/
15
16
16
- RUN apt update \
17
+ RUN set -x \
18
+ && apt update \
17
19
&& apt install -y $BUILD_PACKAGES \
18
20
&& cd /usr/src/ \
19
21
&& git clone $GIT_URL flameshot --branch $GIT_BRANCH \
20
22
&& cd flameshot \
21
- && qmake && make -j 3 && make install \
22
- && apt-get remove --purge -y $BUILD_PACKAGES $(apt-mark showauto) \
23
+ && qmake && make -j 3 && make install && make clean \
24
+ && apt-get remove --purge --auto-remove - y $BUILD_PACKAGES \
23
25
&& apt-get install -y $RUNTIME_PACKAGES \
24
26
&& rm -rf /var/lib/apt/lists/*
25
27
Original file line number Diff line number Diff line change 1
- # docker-flameshot
1
+ # Docker-Flameshot
2
+
3
+ [ ![ ] ( https://img.shields.io/docker/pulls/manuellr/flameshot.svg )] ( https://hub.docker.com/r/manuellr/flameshot ' DockerHub ')
4
+
2
5
Dockerized - [ Flameshot] ( https://github.com/lupoDharkael/flameshot )
3
6
4
7
# Running
@@ -15,14 +18,14 @@ docker run -it --rm \
15
18
-v ~ /.Xauthority:/root/.Xauthority \
16
19
-e XAUTHORITY=/root/.Xauthority \
17
20
-h $DCK_HOST \
18
- --net=host \
19
21
manuellr/flameshot
20
22
```
21
23
22
24
23
25
### Others arguments could be added
24
26
- ` --env="QT_X11_NO_MITSHM=1" `
25
27
- ` --privileged ` : Fix LibGL errors
28
+ - ` --net=host `
26
29
27
30
## Troubleshooting
28
31
### Could not connect to display
You can’t perform that action at this time.
0 commit comments