mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine Dockerfile
This commit is contained in:
parent
21be9daba4
commit
b4220ee7c1
4 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@ FROM ossrs/srs:dev AS build
|
|||
RUN yum install -y gcc make gcc-c++ patch unzip perl git
|
||||
|
||||
# Build and install SRS.
|
||||
COPY . /srs/trunk
|
||||
COPY . /srs
|
||||
WORKDIR /srs/trunk
|
||||
RUN ./configure --jobs=2 && make -j2 && make install
|
||||
|
||||
|
|
|
@ -4,6 +4,6 @@ FROM ossrs/srs:dev
|
|||
RUN yum install -y gcc make gcc-c++ patch unzip perl git
|
||||
|
||||
# Build and install SRS.
|
||||
COPY . /srs/trunk
|
||||
COPY . /srs
|
||||
WORKDIR /srs/trunk
|
||||
RUN ./configure --with-utest --jobs=2 && make -j2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue