Skip to content

Commit 7588c3b

Browse files
authored
Merge pull request #15 from MFB-Technologies-Inc/9-resolve-build-warnings-around-sass-mathdiv
9 resolve build warnings around sass mathdiv
2 parents 3b20e68 + e4b9f3f commit 7588c3b

File tree

6 files changed

+992
-13884
lines changed

6 files changed

+992
-13884
lines changed

.vscode/extensions.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"esbenp.prettier-vscode",
66
"psioniq.psi-header",
77
"dbaeumer.vscode-eslint",
8-
"ms-vsliveshare.vsliveshare"
8+
"ms-vsliveshare.vsliveshare",
9+
"davidanson.vscode-markdownlint"
910
]
1011
}

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"**/.env*",
2626
"**/sonar-project.properties",
2727
"**/.github/**/*",
28-
"**/*.yml"
28+
"**/*.yml",
29+
"**/Dockerfile"
2930
],
3031
"exclude": ["jsonc", "json", "markdown"]
3132
},

Dockerfile

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
1-
FROM node:16-bullseye AS base-with-deps
2-
1+
FROM debian:bullseye-slim AS base-with-deps
32
ARG USERNAME=vscode
4-
5-
# setup the vscode user for the developer
6-
RUN groupadd -r $USERNAME \
7-
&& useradd --no-log-init -rm -d /home/$USERNAME -s /bin/bash -g $USERNAME $USERNAME
8-
USER $USERNAME
3+
RUN apt-get update && apt-get upgrade -y && apt-get install -y curl git sudo
4+
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers \
5+
&& useradd -ms /bin/bash -u 1002 -G sudo $USERNAME
96
WORKDIR /home/$USERNAME
7+
USER $USERNAME
8+
SHELL ["/bin/bash", "--login", "-c"]
9+
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash \
10+
&& . ~/.nvm/nvm.sh \
11+
&& nvm install --lts=hydrogen \
12+
&& npm install -g [email protected]
1013

1114
# copy local repo into a volume
1215
FROM base-with-deps AS mfbtech-react-async-renderer-dev-env
13-
RUN mkdir /home/$USERNAME/git
14-
COPY --chown=$USERNAME:$USERNAME . /home/$USERNAME/git
15-
VOLUME /home/$USERNAME/git
16+
RUN mkdir /home/$USERNAME/workspace
17+
COPY --chown=$USERNAME:$USERNAME . /home/$USERNAME/workspace
18+
VOLUME /home/$USERNAME/workspace

0 commit comments

Comments
 (0)