Skip to content

Commit 58470b4

Browse files
committed
Optimize dockerfile
1 parent 08c0012 commit 58470b4

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

jccp/Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,9 @@ RUN install-php-extensions \
88

99
FROM base AS builder
1010

11-
RUN apt-get update && apt install -y build-essential pkg-config g++ git cmake yasm
11+
RUN apt-get update && apt install -y build-essential pkg-config g++ git cmake yasm zlib1g-dev
1212

13-
RUN cd / && git clone https://github.com/gpac/gpac.git
14-
15-
RUN apt-get update && apt install -y zlib1g-dev
16-
RUN cd /gpac && ./configure && make
13+
RUN cd / && git clone https://github.com/gpac/gpac.git && cd /gpac && ./configure && make -j
1714

1815

1916
FROM base AS jccp

0 commit comments

Comments
 (0)