Skip to content

Commit db93124

Browse files
committed
Upgrade to v0.6.0
1 parent 2e12b4f commit db93124

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

Dockerfile

+8-6
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,27 @@
1-
FROM bitnami/minideb:stretch
1+
FROM debian:stable-slim
2+
# FROM bitnami/minideb:stretch
23
# FROM bitnami/minideb:jessie
34

45
LABEL maintainer="@ManuelLR <[email protected]>"
56

67
ENV GIT_URL https://github.com/lupoDharkael/flameshot.git
7-
ENV GIT_BRANCH v0.5.1
8+
ENV GIT_BRANCH v0.6.0
89

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
1011
ENV RUNTIME_PACKAGES libqt5dbus5 libqt5network5 libqt5core5a libqt5widgets5 libqt5gui5 openssl ca-certificates
1112

1213
ENV DEBIAN_FRONTEND=noninteractive
1314

1415
WORKDIR /usr/src/
1516

16-
RUN apt update \
17+
RUN set -x \
18+
&& apt update \
1719
&& apt install -y $BUILD_PACKAGES \
1820
&& cd /usr/src/ \
1921
&& git clone $GIT_URL flameshot --branch $GIT_BRANCH \
2022
&& 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 \
2325
&& apt-get install -y $RUNTIME_PACKAGES \
2426
&& rm -rf /var/lib/apt/lists/*
2527

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
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+
25
Dockerized - [Flameshot](https://github.com/lupoDharkael/flameshot)
36

47
# Running
@@ -15,14 +18,14 @@ docker run -it --rm \
1518
-v ~/.Xauthority:/root/.Xauthority \
1619
-e XAUTHORITY=/root/.Xauthority \
1720
-h $DCK_HOST \
18-
--net=host \
1921
manuellr/flameshot
2022
```
2123

2224

2325
### Others arguments could be added
2426
- `--env="QT_X11_NO_MITSHM=1"`
2527
- `--privileged`: Fix LibGL errors
28+
- `--net=host`
2629

2730
## Troubleshooting
2831
### Could not connect to display

0 commit comments

Comments
 (0)