File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 1
1
FROM ubuntu
2
2
MAINTAINER Laurens Stötzel <
[email protected] >
3
3
4
- # Install JpegTrag
5
- RUN echo "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe" > /etc/apt/sources.list
6
- RUN apt-get update -y && apt-get install -y libjpeg-progs
4
+ RUN apt-get update -qqy && \
5
+ apt-get install --no-install-recommends -qqy lsb-release && \
6
+ \
7
+ # Install jpegtran
8
+ echo "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe" > /etc/apt/sources.list && \
9
+ apt-get update -qqy && \
10
+ apt-get install -qqy --no-install-recommends libjpeg-progs && \
11
+ \
12
+ # cleanup
13
+ apt-get remove --purge -y lsb-release $( apt-mark showauto ) && \
14
+ apt-get autoremove -y && \
15
+ apt-get clean -y && \
16
+ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
7
17
8
18
RUN mkdir -p /source
9
19
WORKDIR /source
10
20
11
- ENTRYPOINT [ "/usr/bin/jpegtran" ]
21
+ ENTRYPOINT [ "/usr/bin/jpegtran" ]
You can’t perform that action at this time.
0 commit comments