mirror of
https://github.com/akuker/RASCSI.git
synced 2024-08-20 13:29:27 +00:00
* Docker environment fixes * New theme for web UI * Apply breaking wrap to filenames only * Reduce font sizes, whitespace and padding * Right align action fields/buttons * Improve mobile header, hide superfluous UI elements when logged out, drop placeholders from login labels, various other adjustments * Force footer to bottom of screen * Show manual link to logged out users * Reduce header text size on desktop * Fix incorrect selector ID * Fix selector referencing old class name * Fix right-aligned message when images table empty * Add CSS linter/auto-formatter * Run Stylelint + Prettier against modern theme CSS * Select default theme based on browser’s user agent * Style inputs on mobile/tablet devices * Fixes for Safari 14 on iOS + iPad OS * Explicitly define mobile browser support, switch to bare ua-parser without user-agent wrapper * Add LICENSE file for modern theme icons * Improve theme selection query string/field naming. * Remove patch workaround from Docker build * Update log level for UAs to info * Move Bootstrap Reboot CSS to CDN * Account for LUN column in attached devices table * Prevent wrapping of config forms on small viewports * Fix Stylelint issues * Auto-format CSS with Prettier
27 lines
749 B
Docker
27 lines
749 B
Docker
ARG OS_DISTRO=debian
|
|
ARG OS_VERSION=buster
|
|
ARG OS_ARCH=amd64
|
|
FROM "${OS_ARCH}/${OS_DISTRO}:${OS_VERSION}"
|
|
|
|
EXPOSE 6868
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
RUN apt-get update && apt-get install -y --no-install-recommends sudo systemd rsyslog patch wget
|
|
|
|
RUN groupadd pi
|
|
RUN useradd --create-home --shell /bin/bash -g pi pi
|
|
RUN echo "pi ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
|
|
|
|
USER pi
|
|
WORKDIR /home/pi/RASCSI
|
|
COPY --chown=pi:pi . .
|
|
|
|
# Install RaSCSI standalone
|
|
RUN ./easyinstall.sh --run_choice=10 --cores=`nproc`
|
|
|
|
USER root
|
|
WORKDIR /home/pi
|
|
COPY docker/rascsi/rascsi_wrapper.sh /usr/local/bin/rascsi_wrapper.sh
|
|
RUN chmod +x /usr/local/bin/rascsi_wrapper.sh
|
|
CMD ["/usr/local/bin/rascsi_wrapper.sh", "-L", "trace", "-r", "7", "-F", "/home/pi/images"]
|