This repository was archived by the owner on Mar 27, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +16
-11
lines changed Expand file tree Collapse file tree 1 file changed +16
-11
lines changed Original file line number Diff line number Diff line change 14
14
# along with this program. If not, see <http://www.gnu.org/licenses/>.
15
15
16
16
# Part to build opendlv-video-vpx-encoder.
17
- FROM ubuntu:18.04 as builder
17
+ FROM alpine:3.7 as builder
18
18
MAINTAINER Christian Berger "christian.berger@gu.se"
19
- RUN apt-get update -y && \
20
- apt-get upgrade -y && \
21
- apt-get dist-upgrade -y && \
22
- apt-get install -y --no-install-recommends \
23
- ca-certificates \
19
+
20
+ RUN apk update && \
21
+ apk --no-cache add \
22
+ diffutils \
24
23
cmake \
25
- build-essential \
24
+ g++ \
26
25
git \
27
- yasm \
28
- wget
26
+ libx11-dev \
27
+ make \
28
+ perl \
29
+ wget \
30
+ yasm
31
+ RUN cd tmp && \
32
+ git clone --depth 1 https://chromium.googlesource.com/libyuv/libyuv && \
33
+ cd libyuv &&\
34
+ make -f linux.mk libyuv.a && cp libyuv.a /usr/lib && cd include && cp -r * /usr/include
29
35
RUN cd tmp && \
30
36
git clone --depth 1 --branch v1.7.0 https://github.com/webmproject/libvpx.git && \
31
37
mkdir build && cd build && \
@@ -38,9 +44,8 @@ RUN mkdir build && \
38
44
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/tmp .. && \
39
45
make && make install
40
46
41
-
42
47
# Part to deploy opendlv-video-vpx-encoder.
43
- FROM ubuntu:18.04
48
+ FROM alpine:3.7
44
49
MAINTAINER Christian Berger "christian.berger@gu.se"
45
50
46
51
WORKDIR /usr/bin
You can’t perform that action at this time.
0 commit comments