leave dev stuff
This commit is contained in:
parent
943177dfc7
commit
677f6a0ee5
@ -9,8 +9,8 @@ ENV INITSYSTEM on
|
|||||||
ENV TTN_GATEWAY_SOFTWARE 48
|
ENV TTN_GATEWAY_SOFTWARE 48
|
||||||
|
|
||||||
# Build the gateway
|
# Build the gateway
|
||||||
COPY build.sh /tmp/build.sh
|
COPY build.sh /opt/ttn-gateway/dev/build.sh
|
||||||
WORKDIR /tmp
|
WORKDIR /opt/ttn-gateway/dev
|
||||||
RUN ./build.sh
|
RUN ./build.sh
|
||||||
|
|
||||||
# Copy the run shell script after build, so we can modify it without rebuilding
|
# Copy the run shell script after build, so we can modify it without rebuilding
|
||||||
|
6
build.sh
6
build.sh
@ -46,12 +46,8 @@ popd
|
|||||||
# Restore location back to where we were prior to starting the build
|
# Restore location back to where we were prior to starting the build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# Copy packet forwarder to where it'll be expected
|
# Copy things needed at runtime to where they'll be expected
|
||||||
cp $BUILD_DIR/packet_forwarder/poly_pkt_fwd/reset_pkt_fwd.sh $INSTALL_DIR/reset_pkt_fwd.sh
|
cp $BUILD_DIR/packet_forwarder/poly_pkt_fwd/reset_pkt_fwd.sh $INSTALL_DIR/reset_pkt_fwd.sh
|
||||||
cp $BUILD_DIR/packet_forwarder/poly_pkt_fwd/poly_pkt_fwd $INSTALL_DIR/poly_pkt_fwd
|
cp $BUILD_DIR/packet_forwarder/poly_pkt_fwd/poly_pkt_fwd $INSTALL_DIR/poly_pkt_fwd
|
||||||
|
|
||||||
# Delete the build folder if we need space,
|
|
||||||
# else leave it around for on-device debugging/building
|
|
||||||
# rm -rf $BUILD_DIR
|
|
||||||
|
|
||||||
echo "Build & Installation Completed."
|
echo "Build & Installation Completed."
|
||||||
|
Loading…
Reference in New Issue
Block a user