pkg(osabie-1.0.1/elixir-1.11.3): Fix VM warnings for osabie and elixir

This commit is contained in:
Dan Vargas 2021-03-16 10:51:45 -05:00 committed by Thomas
parent ef5f38b329
commit 148c7414f3
3 changed files with 5 additions and 1 deletions

View File

@ -5,9 +5,11 @@ RUN for i in $(seq 1001 1500); do \
useradd -M runner$i -g $i -u $i ; \ useradd -M runner$i -g $i -u $i ; \
done done
RUN apt-get update && \ 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/* rm -rf /var/lib/apt/lists/*
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen
ENV NODE_ENV=production ENV NODE_ENV=production
WORKDIR /piston_api WORKDIR /piston_api
COPY ["package.json", "yarn.lock", "./"] COPY ["package.json", "yarn.lock", "./"]

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Put 'export' statements here for environment variables # Put 'export' statements here for environment variables
export LC_ALL=en_US.UTF-8
export PATH=$PWD/bin:$PATH export PATH=$PWD/bin:$PATH

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Put 'export' statements here for environment variables # Put 'export' statements here for environment variables
export LC_ALL=en_US.UTF-8
export PATH=$PWD/bin:$PATH export PATH=$PWD/bin:$PATH