Skip to content

Commit 5ed0f62

Browse files
committed
Fixed some locale issues in Dockerfile
1 parent e33abde commit 5ed0f62

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.devcontainer/Dockerfile

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,26 @@
11
FROM node:22.15.0-bookworm
22

3+
WORKDIR /workspaces/NebulaLogger
4+
5+
# Updates + locale setup
6+
RUN apt-get update && \
7+
apt-get install -y locales && \
8+
sed -i 's/^# *\(en_US.UTF-8\)/\1/' /etc/locale.gen && \
9+
locale-gen en_US.UTF-8 && \
10+
update-locale LANG=en_US.UTF-8
11+
12+
ENV LANG=en_US.UTF-8
13+
ENV LANGUAGE=en_US:en
14+
ENV LC_ALL=en_US.UTF-8
15+
16+
# Set up npm dependencies (including sf CLI)
317
# https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_dev_cli_env_variables.htm
18+
ENV FORCE_SHOW_SPINNER=true
419
# ENV SF_CONTAINER_MODE=true
520
ENV SF_DISABLE_AUTOUPDATE=true
621
ENV SF_DISABLE_TELEMETRY=true
722
ENV SF_LOG_LEVEL=debug
823
ENV SF_SKIP_NEW_VERSION_CHECK=true
9-
10-
WORKDIR /workspaces/NebulaLogger
11-
12-
# Setup npm dependencies (including sf CLI)
1324
COPY package.json ./
1425
COPY package-lock.json ./
1526
RUN npm ci

0 commit comments

Comments
 (0)