From 148c7414f3ab5ecf9435a2c6b38fb8c15abe5ef3 Mon Sep 17 00:00:00 2001 From: Dan Vargas Date: Tue, 16 Mar 2021 10:51:45 -0500 Subject: [PATCH] pkg(osabie-1.0.1/elixir-1.11.3): Fix VM warnings for osabie and elixir --- api/Dockerfile | 4 +++- packages/elixir/1.11.3/environment | 1 + packages/osabie/1.0.1/environment | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/api/Dockerfile b/api/Dockerfile index 6f2ef37..1dc74b4 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -5,9 +5,11 @@ RUN for i in $(seq 1001 1500); do \ useradd -M runner$i -g $i -u $i ; \ done RUN apt-get update && \ - apt-get install -y libxml2 gnupg tar coreutils util-linux libc6-dev binutils build-essential && \ + apt-get install -y libxml2 gnupg tar coreutils util-linux libc6-dev binutils build-essential locales && \ rm -rf /var/lib/apt/lists/* +RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen + ENV NODE_ENV=production WORKDIR /piston_api COPY ["package.json", "yarn.lock", "./"] diff --git a/packages/elixir/1.11.3/environment b/packages/elixir/1.11.3/environment index 780b668..ea24603 100644 --- a/packages/elixir/1.11.3/environment +++ b/packages/elixir/1.11.3/environment @@ -1,4 +1,5 @@ #!/usr/bin/env bash # Put 'export' statements here for environment variables +export LC_ALL=en_US.UTF-8 export PATH=$PWD/bin:$PATH diff --git a/packages/osabie/1.0.1/environment b/packages/osabie/1.0.1/environment index 780b668..ea24603 100644 --- a/packages/osabie/1.0.1/environment +++ b/packages/osabie/1.0.1/environment @@ -1,4 +1,5 @@ #!/usr/bin/env bash # Put 'export' statements here for environment variables +export LC_ALL=en_US.UTF-8 export PATH=$PWD/bin:$PATH