mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
fix: group the ENV in quotations
This commit is contained in:
parent
2237b4266b
commit
92f82f6fc6
@ -92,8 +92,8 @@ ARG USER_ID=1000
|
|||||||
ARG GROUP_ID=1000
|
ARG GROUP_ID=1000
|
||||||
|
|
||||||
# add user with specified (or default) user/group ids
|
# add user with specified (or default) user/group ids
|
||||||
ENV USER_ID=${USER_ID}
|
ENV USER_ID="${USER_ID}"
|
||||||
ENV GROUP_ID=${GROUP_ID}
|
ENV GROUP_ID="${GROUP_ID}"
|
||||||
RUN groupadd -g ${GROUP_ID} dash
|
RUN groupadd -g ${GROUP_ID} dash
|
||||||
RUN useradd -u ${USER_ID} -g dash -s /bin/bash -m -d /home/dash dash
|
RUN useradd -u ${USER_ID} -g dash -s /bin/bash -m -d /home/dash dash
|
||||||
|
|
||||||
|
@ -5,11 +5,11 @@ LABEL description="Dockerised DashCore, built from CI"
|
|||||||
ARG USER_ID
|
ARG USER_ID
|
||||||
ARG GROUP_ID
|
ARG GROUP_ID
|
||||||
|
|
||||||
ENV HOME=/home/dash
|
ENV HOME="/home/dash"
|
||||||
|
|
||||||
# add user with specified (or default) user/group ids
|
# add user with specified (or default) user/group ids
|
||||||
ENV USER_ID=${USER_ID:-1000}
|
ENV USER_ID="${USER_ID:-1000}"
|
||||||
ENV GROUP_ID=${GROUP_ID:-1000}
|
ENV GROUP_ID="${GROUP_ID:-1000}"
|
||||||
RUN groupadd -g ${GROUP_ID} dash && \
|
RUN groupadd -g ${GROUP_ID} dash && \
|
||||||
useradd -u ${USER_ID} -g dash -s /bin/bash -m -d /home/dash dash && \
|
useradd -u ${USER_ID} -g dash -s /bin/bash -m -d /home/dash dash && \
|
||||||
mkdir /home/dash/.dashcore && \
|
mkdir /home/dash/.dashcore && \
|
||||||
|
@ -50,11 +50,11 @@ ARG USER_ID
|
|||||||
ARG GROUP_ID
|
ARG GROUP_ID
|
||||||
ARG TAG
|
ARG TAG
|
||||||
|
|
||||||
ENV HOME=/home/dash
|
ENV HOME="/home/dash"
|
||||||
|
|
||||||
# add user with specified (or default) user/group ids
|
# add user with specified (or default) user/group ids
|
||||||
ENV USER_ID=${USER_ID:-1000}
|
ENV USER_ID="${USER_ID:-1000}"
|
||||||
ENV GROUP_ID=${GROUP_ID:-1000}
|
ENV GROUP_ID="${GROUP_ID:-1000}"
|
||||||
RUN groupadd -g ${GROUP_ID} dash && \
|
RUN groupadd -g ${GROUP_ID} dash && \
|
||||||
useradd -u ${USER_ID} -g dash -s /bin/bash -m -d /home/dash dash && \
|
useradd -u ${USER_ID} -g dash -s /bin/bash -m -d /home/dash dash && \
|
||||||
mkdir /home/dash/.dashcore && \
|
mkdir /home/dash/.dashcore && \
|
||||||
|
@ -26,7 +26,7 @@ ARG guix_checksum_aarch64=72d807392889919940b7ec9632c45a259555e6b0942ea7bfd13110
|
|||||||
ARG guix_checksum_x86_64=236ca7c9c5958b1f396c2924fcc5bc9d6fdebcb1b4cf3c7c6d46d4bf660ed9c9
|
ARG guix_checksum_x86_64=236ca7c9c5958b1f396c2924fcc5bc9d6fdebcb1b4cf3c7c6d46d4bf660ed9c9
|
||||||
ARG builder_count=32
|
ARG builder_count=32
|
||||||
|
|
||||||
ENV PATH=/usr/local/bin:/usr/local/guix/current/bin:$PATH
|
ENV PATH="/usr/local/bin:/usr/local/guix/current/bin:$PATH"
|
||||||
|
|
||||||
# Application Setup
|
# Application Setup
|
||||||
# https://guix.gnu.org/manual/en/html_node/Application-Setup.html
|
# https://guix.gnu.org/manual/en/html_node/Application-Setup.html
|
||||||
|
@ -15,12 +15,12 @@ ARG guix_checksum_aarch64=72d807392889919940b7ec9632c45a259555e6b0942ea7bfd13110
|
|||||||
ARG guix_checksum_x86_64=236ca7c9c5958b1f396c2924fcc5bc9d6fdebcb1b4cf3c7c6d46d4bf660ed9c9
|
ARG guix_checksum_x86_64=236ca7c9c5958b1f396c2924fcc5bc9d6fdebcb1b4cf3c7c6d46d4bf660ed9c9
|
||||||
ARG builder_count=32
|
ARG builder_count=32
|
||||||
|
|
||||||
ENV PATH=/root/.config/guix/current/bin:$PATH
|
ENV PATH="/root/.config/guix/current/bin:$PATH"
|
||||||
|
|
||||||
# Application Setup
|
# Application Setup
|
||||||
# https://guix.gnu.org/manual/en/html_node/Application-Setup.html
|
# https://guix.gnu.org/manual/en/html_node/Application-Setup.html
|
||||||
ENV GUIX_LOCPATH=/root/.guix-profile/lib/locale
|
ENV GUIX_LOCPATH="/root/.guix-profile/lib/locale"
|
||||||
ENV LC_ALL=en_US.UTF-8
|
ENV LC_ALL="en_US.UTF-8"
|
||||||
|
|
||||||
RUN guix_file_name=guix-binary-${guix_version}.$(uname -m)-linux.tar.xz && \
|
RUN guix_file_name=guix-binary-${guix_version}.$(uname -m)-linux.tar.xz && \
|
||||||
eval "guix_checksum=\${guix_checksum_$(uname -m)}" && \
|
eval "guix_checksum=\${guix_checksum_$(uname -m)}" && \
|
||||||
|
Loading…
Reference in New Issue
Block a user