- removed novnc
- added ssh server
This commit is contained in:
+10
-9
@@ -1,19 +1,17 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
FROM jayfield/novnc-baseimage
|
||||
FROM jayfield/debian-baseimage
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get -y install --no-install-recommends soapysdr-module-all soapyremote-server soapysdr-tools uhd-host uhd-soapysdr gqrx-sdr && \
|
||||
apt-get -y install --no-install-recommends openssh-server udev soapysdr-module-all soapyremote-server soapysdr-tools uhd-host uhd-soapysdr gqrx-sdr && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN openssl req -x509 -nodes -newkey rsa:2048 -keyout /tmp/novnc.key -out /tmp/novnc.pem -days 3650 -subj "/C=US/ST=NY/L=NY/O=NY/OU=NY/CN=NY emailAddress=email@example.com"
|
||||
RUN cp /usr/libexec/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/
|
||||
RUN /usr/bin/uhd_images_downloader
|
||||
|
||||
ENV DISPLAY_NUM=99
|
||||
ENV DISPLAY=:${DISPLAY_NUM}
|
||||
|
||||
RUN useradd -m jens -p jens -s /usr/bin/bash
|
||||
RUN echo jens:change_me | chpasswd
|
||||
|
||||
WORKDIR /home/jensi
|
||||
WORKDIR /home/jens
|
||||
RUN touch .Xauthority
|
||||
|
||||
ENV SCRIPTS_HOME=/opt/scripts
|
||||
@@ -25,8 +23,11 @@ WORKDIR /tmp/apps
|
||||
RUN rm -rf /tmp/apps
|
||||
RUN cd ~
|
||||
|
||||
EXPOSE 60${DISPLAY_NUM}
|
||||
EXPOSE 5900
|
||||
COPY config/sshd_config /etc/ssh/
|
||||
|
||||
EXPOSE 55132
|
||||
EXPOSE 1900
|
||||
EXPOSE 10022
|
||||
|
||||
ENTRYPOINT ["/opt/scripts/server_start.sh", "/opt/scripts/server.sh"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user