Returned apt-get

This commit is contained in:
Luiz F Picolo 2021-11-03 11:32:06 -04:00
parent 50321e271a
commit a99a2fe893
1 changed files with 2 additions and 2 deletions

View File

@ -1,12 +1,12 @@
FROM ruby:2.7.4 FROM ruby:2.7.4
RUN apt update && apt install -y \ RUN apt-get update && apt-get install -y \
curl \ curl \
build-essential \ build-essential \
curl -sL https://deb.nodesource.com/setup_12.x | bash - && \ curl -sL https://deb.nodesource.com/setup_12.x | bash - && \
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \ echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
apt update && apt install -y nodejs yarn sqlite3 cron g++ apt-get update && apt-get install -y nodejs yarn sqlite3 cron g++
ENV RACK_ENV production ENV RACK_ENV production
ENV TZ=America/Campo_Grande ENV TZ=America/Campo_Grande