Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,19 @@ RUN npm install -g expo-cli

RUN npm i -f

# User creation
RUN useradd -U -m -r -o -u 1003 vfac

# Install fixuid
RUN USER=vfac && \
GROUP=vfac && \
curl -SsL https://github.com/boxboat/fixuid/releases/download/v0.5/fixuid-0.5-linux-amd64.tar.gz | tar -C /usr/local/bin -xzf - && \
chown root:root /usr/local/bin/fixuid && \
chmod 4755 /usr/local/bin/fixuid && \
mkdir -p /etc/fixuid && \
printf "user: $USER\ngroup: $GROUP\n" > /etc/fixuid/config.yml
ENTRYPOINT ["fixuid", "-q"]

USER vfac:vfac

CMD ["tail","-f","/dev/null"]
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ Each versions exist in Alpine version to limit the image size.

7 globals JS tools are available throught this container :

- NPM (6.13.6)
- NPM (7.5.2)
- Grunt (1.3.2)
- Gulp (4.0.2)
- Yarn (1.21.1)
- Yarn (1.22.5)
- Typescript (3.7.5)
- Create-React-App (3.3.0)
- Nodemon (2.0.2)
- Expo-cli (3.11.9)
- Create-React-App (4.0.2)
- Nodemon (2.0.7)
- Expo-cli (4.1.6)