Enable UTF-8 in devcontainer

This commit is contained in:
Willem van den Ende 2026-03-18 11:30:27 +00:00
parent 7c3aac56ec
commit 87d7b39d22
2 changed files with 5 additions and 1 deletions

View File

@ -1,6 +1,11 @@
FROM mcr.microsoft.com/devcontainers/base:ubuntu-24.04
USER root
RUN apt-get update && apt-get install -y locales && \
sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
locale-gen en_US.UTF-8
ENV LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - && \
apt-get install -y nodejs

View File

@ -1,6 +1,5 @@
#!/bin/bash
set -e
export ELIXIR_ERL_OPTIONS="+fnu"
/home/vscode/.local/bin/mise trust /workspaces/firehose/mise.toml 2>/dev/null
eval "$(/home/vscode/.local/bin/mise activate bash)"
cd /workspaces/firehose/app