Skip to content

Commit

Permalink
Bump debian base image to 12.2-slim (#212)
Browse files Browse the repository at this point in the history
* Bump debian base image to 12.2-slim

* Modify libssl

* Modify to libssl3

* Update firmware-update.sh

* Install udev as udevadm is needed by v4 of GCFFlasher

---------

Co-authored-by: senilio <[email protected]>
Co-authored-by: senilio <[email protected]>
Co-authored-by: Emil Petersson <[email protected]>
  • Loading branch information
4 people authored Nov 18, 2023
1 parent a334062 commit 2a2eee7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
5 changes: 3 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:11.5-slim
FROM debian:12.2-slim

# Build arguments
ARG VERSION
Expand Down Expand Up @@ -40,6 +40,7 @@ RUN apt-get update && \
gosu \
curl \
kmod \
udev \
libatomic1 \
libcap2-bin \
libqt5core5a \
Expand All @@ -50,7 +51,7 @@ RUN apt-get update && \
libqt5websockets5 \
libqt5widgets5 \
libqt5qml5 \
libssl1.1 \
libssl3 \
lsof \
sqlite3 \
tigervnc-standalone-server \
Expand Down
11 changes: 4 additions & 7 deletions docker/root/firmware-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,20 @@
# ===========================
# Configuration
# ===========================
VERSION=0.8
VERSION=0.9
# ---------------------------
# Flasher and options
# ---------------------------
FLASHER=/usr/bin/GCFFlasher_internal
FLASHER_PARAM_LIST=( -d -f -s -t -R -B -x )
FLASHER_PARAM_LIST=( -d -f -t -x )
typeset -A FLASHER_PARAM_NAMES=( # GCFFlasher <options>
# -r force device reset without programming
[-f]="Firmware file" # -f <firmware> flash firmware file
[-d]="Device path ." # -d <device> device number or path to use, e.g. 0, /dev/ttyUSB0 or RaspBee
[-s]="Serial number" # -s <serial> serial number to use
[-c]="Debug serial " # -c connect and debug serial protocol
[-t]="Timeout ....." # -t <timeout> retry until timeout (seconds) is reached
[-R]="Retries ....." # -R <retries> max. retries
[-B]="Baudrate ...." # -B <baudrate> custom baudrate
# -l list devices
[-x]="Loglevel ...." # -x <loglevel> debug log level 0, 1, 3
# -j <test> runs a test 1
# -h -? print this help
)
typeset -A FLASHER_PARAM_PRINT=(
Expand All @@ -35,7 +32,7 @@ typeset -A FLASHER_PARAM_VALUES=(
# ---------------------------
# Firmware details
# ---------------------------
FW_PATH=/usr/share/deCONZ/firmware/
FW_PATH=/tmp
typeset -A FW_ONLINE_BASES=(
[stable]="http://deconz.dresden-elektronik.de/deconz-firmware/"
[beta]="http://deconz.dresden-elektronik.de/deconz-firmware/beta/"
Expand Down

0 comments on commit 2a2eee7

Please sign in to comment.