Skip to content
Snippets Groups Projects
Commit a4ae1ff1 authored by Quang tru HUYNH's avatar Quang tru HUYNH
Browse files

run as root and not default mambauser(1000)

parent 810d7824
No related branches found
No related tags found
No related merge requests found
Pipeline #99115 canceled
From mambaorg/micromamba:1-bullseye From mambaorg/micromamba:1-bullseye
# uid=1000(mambauser) gid=1000(mambauser) groups=1000(mambauser)
RUN id ; ls -ld /var/lib/apt/lists/partial #RUN id ; ls -ld /var/lib/apt/lists/partial
USER root
# update the OS # update the OS
RUN mkdir -p /var/lib/apt/lists/partial && apt-get update && \ RUN apt-get update && \
apt-get -y install curl && \ apt-get -y install curl && \
DEBIAN_FRONTEND=noninteractive apt-get -y upgrade && \ DEBIAN_FRONTEND=noninteractive apt-get -y upgrade && \
DEBIAN_FRONTEND=noninteractive apt-get -y autoremove && \ DEBIAN_FRONTEND=noninteractive apt-get -y autoremove && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment