This commit is contained in:
parent
fb0ee05dd5
commit
be4f5572a9
30
Dockerfile
30
Dockerfile
@ -49,21 +49,21 @@ RUN make build_boost build_curlpp
|
||||
RUN make build_gr_osmosdr
|
||||
# RUN make move2radio
|
||||
|
||||
# # Run stage
|
||||
# FROM base AS run
|
||||
# ENV DEBIAN_FRONTEND=noninteractive TZ=Europe/Berlin
|
||||
# ENV PATH="/app/move2radio/build/prefix/usr/bin:${PATH}" \
|
||||
# PYTHONPATH="/app/move2radio/build/prefix/usr/lib/python2.7/dist-packages:${PYTHONPATH}" \
|
||||
# LD_LIBRARY_PATH="/app/move2radio/build/prefix/usr/lib:${LD_LIBRARY_PATH}"
|
||||
# Run stage
|
||||
FROM base AS run
|
||||
ENV DEBIAN_FRONTEND=noninteractive TZ=Europe/Berlin
|
||||
ENV PATH="/app/move2radio/build/prefix/usr/bin:${PATH}" \
|
||||
PYTHONPATH="/app/move2radio/build/prefix/usr/lib/python2.7/dist-packages:${PYTHONPATH}" \
|
||||
LD_LIBRARY_PATH="/app/move2radio/build/prefix/usr/lib:${LD_LIBRARY_PATH}"
|
||||
|
||||
# # Copy sources from build stage
|
||||
# COPY --from=build /app/move2radio/build/prefix/usr /app/move2radio/build/prefix/usr
|
||||
# COPY --from=build /app/move2radio/AppDir/move-ii-gr/AR4JA_r12_k1024n.a /app/gnuradio/
|
||||
# COPY build/gnuradio/* /app/gnuradio/
|
||||
# Copy sources from build stage
|
||||
COPY --from=build /app/move2radio/build/prefix/usr /app/move2radio/build/prefix/usr
|
||||
COPY --from=build /app/move2radio/AppDir/move-ii-gr/AR4JA_r12_k1024n.a /app/gnuradio/
|
||||
COPY build/gnuradio/* /app/gnuradio/
|
||||
|
||||
# # Install binaries
|
||||
# COPY build/fakeserver/* /app/fakeserver/
|
||||
# COPY build/run*.sh /app/
|
||||
# RUN chmod +x /app/run*.sh && ldconfig
|
||||
# Install binaries
|
||||
COPY build/fakeserver/* /app/fakeserver/
|
||||
COPY build/run*.sh /app/
|
||||
RUN chmod +x /app/run*.sh && ldconfig
|
||||
|
||||
# ENTRYPOINT ["/app/run-cli.sh"]
|
||||
ENTRYPOINT ["/app/run-cli.sh"]
|
Loading…
Reference in New Issue
Block a user