Skip to content

Commit 1a93f8e

Browse files
committed
set os-release ID to Raspbian
1 parent f53177f commit 1a93f8e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
1111
org.label-schema.vcs-ref=$VCS_REF
1212

1313
#version
14-
ENV HILSCHERNETPI_RASPBIAN_VERSION 1.2.3
14+
ENV HILSCHERNETPI_RASPBIAN_VERSION 1.2.4
1515

1616
#labeling
1717
LABEL maintainer="netpi@hilscher.com" \
@@ -164,6 +164,7 @@ RUN apt-get update \
164164
&& mkdir /etc/firmware \
165165
&& curl -o /etc/firmware/BCM43430A1.hcd -L https://github.com/OpenELEC/misc-firmware/raw/master/firmware/brcm/BCM43430A1.hcd \
166166
&& wget https://raw.githubusercontent.com/raspberrypi/firmware/1.20180417/opt/vc/bin/vcmailbox -O /opt/vc/bin/vcmailbox \
167+
&& sudo sed -i 's@debian@Raspbian@g' -i /usr/lib/os-release \
167168
&& apt-get remove git \
168169
&& apt-get autoremove \
169170
&& rm -rf /tmp/* \

init.d/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ term_handler() {
2525
trap 'kill ${!}; term_handler' SIGINT SIGKILL SIGTERM SIGQUIT SIGTSTP SIGSTOP SIGHUP
2626

2727
echo "starting SSH server ..."
28-
if [ "SSHPORT" ]; then
28+
if [ "$SSHPORT" ]; then
2929
#there is an alternative SSH port configured
3030
echo "the container binds the SSH server port to the configured port $SSHPORT"
3131
sed -i -e "s;#Port 22;Port $SSHPORT;" /etc/ssh/sshd_config

0 commit comments

Comments
 (0)