This repository was archived by the owner on Apr 13, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -131,10 +131,19 @@ ENV PATH /home/linuxbrew/.linuxbrew/bin:${PATH}
131131USER coder
132132RUN brew install gh glab doctl duf \
133133 && curl -fsSL https://unix.secman.dev | bash \
134- && curl -fsSL https://code-server.dev/install.sh | sh -s -- --dry-run
134+ && curl -fsSL https://code-server.dev/install.sh | sh
135135RUN wget https://raw.githubusercontent.com/cdr/code-server/main/ci/release-image/entrypoint.sh && sudo chmod 755 entrypoint.sh \
136136 && sudo mv entrypoint.sh /usr/bin/entrypoint.sh
137137
138+ # ## install fixuid ###
139+ USER root
140+ RUN ARCH="$(dpkg --print-architecture)" && \
141+ curl -fsSL "https://github.com/boxboat/fixuid/releases/download/v0.5/fixuid-0.5-linux-$ARCH.tar.gz" | tar -C /usr/local/bin -xzf - && \
142+ chown root:root /usr/local/bin/fixuid && \
143+ chmod 4755 /usr/local/bin/fixuid && \
144+ mkdir -p /etc/fixuid && \
145+ printf "user: coder\n group: coder\n " > /etc/fixuid/config.yml
146+
138147# ## micro cli editor ###
139148USER root
140149RUN curl https://getmic.ro | bash && \
You can’t perform that action at this time.
0 commit comments