Skip to content

Commit

Permalink
bug fixes and additions
Browse files Browse the repository at this point in the history
  • Loading branch information
shitwolfymakes committed Apr 16, 2022
1 parent a469093 commit d95d15d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,24 @@ RUN \
COPY . /opt/arm/
RUN rm -rf /opt/arm/venv

# Remove SSH
RUN rm -rf /etc/service/sshd /etc/my_init.d/00_regen_ssh_host_keys.sh

# Create our startup scripts
WORKDIR /opt/arm/scripts/docker
RUN mkdir -p /etc/my_init.d
COPY ./runit/start_aaudev.sh /etc/my_init.d/start_udev.sh
COPY ./runit/start_armui.sh /etc/my_init.d/start_armui.sh
COPY ./runit/docker-entrypoint.sh /etc/my_init.d/docker-entrypoint.sh
COPY ./scripts/docker/runit/start_udev.sh /etc/my_init.d/start_udev.sh
COPY ./scripts/docker/runit/start_armui.sh /etc/my_init.d/start_armui.sh
COPY ./scripts/docker/runit/docker-entrypoint.sh /etc/my_init.d/docker-entrypoint.sh

# We need to use a modified udev
COPY ./custom_udev /etc/init.d/udev
COPY ./scripts/docker/custom_udev /etc/init.d/udev
RUN chmod +x /etc/my_init.d/*.sh
WORKDIR /opt/arm

# Our docker udev rule
RUN ln -sv /opt/arm/setup/51-automedia-docker.rules /lib/udev/rules.d/

EXPOSE 8080

WORKDIR /opt/arm
VOLUME /home/arm/music
VOLUME /home/arm/logs
VOLUME /home/arm/media
Expand Down
File renamed without changes.

0 comments on commit d95d15d

Please sign in to comment.