delete unused command
@@ -17,7 +17,7 @@ RUN bash /root/02_llvm.sh
ADD ./dockerfile.d/03_sdk.sh /root
RUN bash /root/03_sdk.sh
-ARG RUST_TOOLCHAIN='nightly-2020-09-27'
+ARG RUST_TOOLCHAIN='nightly-2020-04-07'
ADD ./dockerfile.d/05_rust.sh /root
RUN bash /root/05_rust.sh
@@ -51,8 +51,6 @@ WORKDIR /root
RUN curl -sSL https://rvm.io/mpapis.asc | gpg --import -
RUN curl -sSL https://rvm.io/pkuczynski.asc | gpg --import -
RUN curl -sSL https://get.rvm.io | bash -s stable
-SHELL ["/bin/bash", "-c"]
-RUN source /usr/local/rvm/scripts/rvm
ENV PATH /usr/local/rvm/gems/ruby-2.6.5/bin:/usr/local/rvm/rubies/ruby-2.6.5@global/bin:/usr/local/rvm/rubies/ruby-2.6.5/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
RUN echo "export rvm_max_time_flag=20" >> .rvmrc
@@ -60,7 +58,6 @@ RUN rvm requirements
RUN rvm install 2.6.5
ENV GEM_HOME /usr/local/rvm/gems/ruby-2.6.5
ENV GEM_PATH /usr/local/rvm/gems/ruby-2.6.5:/usr/local/rvm/gems/ruby-2.6.5@global
-#RUN rvm use 2.6.5 --default
RUN gem install bundler rails pry
RUN apt install -y libsecp256k1-dev
@@ -68,7 +65,6 @@ RUN git clone https://github.com/Phala-Network/w3a-gateway.git
WORKDIR /root/w3a-gateway
RUN bundle install
RUN cp config/credentials.yml.example config/credentials.yml
-#RUN rails credentials:encrypt
RUN cp config/database.yml.sqlite3 config/database.yml
RUN rails db:migrate
RUN rails db:seed
@@ -80,7 +76,6 @@ RUN apt update
RUN curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
RUN apt install -y nodejs
-#ADD https://api.github.com/repos/Phala-Network/w3a-backend/git/refs/heads/master version.json
RUN git clone https://github.com/Phala-Network/w3a-backend.git
WORKDIR /root/w3a-backend
