chore: use osrm-backend-dev as runstage, will have a little bigger size but easy for debug. (#53)
NOTE that we could make the runstage smaller as before if we have a big team to maintain different things
This commit is contained in:
parent
927eb455ef
commit
7677b8513b
@ -35,13 +35,13 @@ RUN cd /workspace/osrm-backend && \
|
||||
ls -lh /workspace/go/bin
|
||||
|
||||
|
||||
FROM debian:stretch-slim as runstage
|
||||
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libboost-program-options1.62.0 libboost-regex1.62.0 \
|
||||
libboost-date-time1.62.0 libboost-chrono1.62.0 libboost-filesystem1.62.0 \
|
||||
libboost-iostreams1.62.0 libboost-thread1.62.0 expat liblua5.2-0 libtbb2 curl ca-certificates && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
FROM wangyoucao577/osrm-backend-dev as runstage
|
||||
#FROM debian:stretch-slim as runstage
|
||||
#RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
||||
# DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libboost-program-options1.62.0 libboost-regex1.62.0 \
|
||||
# libboost-date-time1.62.0 libboost-chrono1.62.0 libboost-filesystem1.62.0 \
|
||||
# libboost-iostreams1.62.0 libboost-thread1.62.0 expat liblua5.2-0 libtbb2 curl ca-certificates && \
|
||||
# rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN mkdir -p /osrm-build /osrm-data /osrm-logs
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user