File tree 1 file changed +8
-10
lines changed
1 file changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -5,21 +5,19 @@ LABEL version="1.0"
5
5
LABEL Description="MIS"
6
6
7
7
# get curl, etc
8
- RUN apt-get update
9
- RUN apt-get install --no-install-recommends -y software-properties-common
10
- RUN add-apt-repository -y ppa:ubuntu-toolchain-r/test
11
- RUN apt-get update
12
- RUN apt-get install --no-install-recommends -y make g++
13
- RUN apt-get install --no-install-recommends -y zlib1g-dev git libboost-dev
14
- RUN apt-get install --no-install-recommends -y git
8
+ RUN apt-get update && apt-get install --no-install-recommends -y software-properties-common && \
9
+ add-apt-repository -y ppa:ubuntu-toolchain-r/test && \
10
+ apt-get update && \
11
+ apt-get install --no-install-recommends -y make g++ zlib1g-dev git libboost-dev && \
12
+ rm -rf /var/lib/apt/lists/*
15
13
16
14
# build mis
17
15
USER root
18
16
COPY . /mis
19
17
WORKDIR /mis
20
18
RUN rm -rf muser2-dir
21
- RUN git clone https://github.com/meelgroup/muser muser2-dir
22
- RUN make static
19
+ RUN git clone https://github.com/meelgroup/muser muser2-dir && \
20
+ make static
23
21
24
22
# set up for running
25
23
FROM ubuntu:16.04
@@ -29,7 +27,7 @@ COPY --from=builder /mis/mis.py /usr/local/bin/
29
27
COPY --from=builder /mis/togmus /usr/local/bin/
30
28
COPY --from=builder /mis/muser2-dir/src/tools/muser2/muser2 /usr/local/bin/
31
29
WORKDIR /usr/local/bin/
32
- ENTRYPOINT ["/usr/local/bin/mis.py" , "--bin " ,"./muser2" ]
30
+ ENTRYPOINT ["/usr/local/bin/mis.py" , "--muser2bin " ,"./muser2" ]
33
31
34
32
# --------------------
35
33
# HOW TO USE
You can’t perform that action at this time.
0 commit comments