Fixed root permissions

The Docker has been changed to no longer run these commands as root, added root permissions for the relevant commands to fix the docker.
This commit is contained in:
henk717 2021-11-10 03:17:12 +01:00 committed by GitHub
parent 4af0d9dabd
commit d5a26e8c20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -4,5 +4,6 @@
FROM mambaorg/micromamba
WORKDIR /content/
COPY env.yml /home/micromamba/env.yml
RUN apt update && apt install xorg -y
RUN micromamba install -y -n base -f /home/micromamba/env.yml
USER root
RUN apt update && apt install xorg -y