leave dev stuff

This commit is contained in:
Ray Ozzie 2016-03-26 14:45:52 -04:00
parent 943177dfc7
commit 677f6a0ee5
2 changed files with 3 additions and 7 deletions

View File

@ -9,8 +9,8 @@ ENV INITSYSTEM on
ENV TTN_GATEWAY_SOFTWARE 48
# Build the gateway
COPY build.sh /tmp/build.sh
WORKDIR /tmp
COPY build.sh /opt/ttn-gateway/dev/build.sh
WORKDIR /opt/ttn-gateway/dev
RUN ./build.sh
# Copy the run shell script after build, so we can modify it without rebuilding

View File

@ -46,12 +46,8 @@ popd
# Restore location back to where we were prior to starting the build
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/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."