Browse Source

changed package checkout

Spencer Gardner 6 năm trước cách đây
mục cha
commit
74601e1bda
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      Dockerfile

+ 2 - 2
Dockerfile

@@ -44,8 +44,8 @@ CMD json_get -db $DB -host $HOST -dbHost $DB_HOST -location $LOCATION -password
 
 ##############################
 from debian as log_temperature
-RUN apt-get update && apt-get upgrade -y 
-RUN apt-get install -y librtlsdr0 && apt-get clean
+RUN apt-get update && apt-get upgrade -y && apt-get clean
+RUN apt-get update && apt-get install -y librtlsdr0 && apt-get clean
 COPY --from=build-rtl_433 /rtl_433/install/bin/rtl_433 /usr/bin
 COPY --from=build-log /go/bin/temperature_logger /usr/bin