Sha256: 8056afb137bebf7bc16616fad27f6e9b20392c7fedb680c700bb474d0af537c0

Contents?: true

Size: 925 Bytes

Versions: 1

Compression:

Stored size: 925 Bytes

Contents

version "1.0"
container :docker

image_name "ti"
container_name "tc"

interactive true
tty true

dockerfile do_plain
FROM ruby-2_7_1

RUN apt-get update && apt-get install -y yarn #sudo && chmod u+s /usr/bin/sudo
RUN groupadd -g $GID $USER && useradd -m $USER --uid=$UID --gid=$GID && passwd -d -u $USER && usermod -aG sudo $USER

RUN cp /root/.bash_profile /home/$USER/.bash_profile && chown $USER:$USER /home/$USER/.bash_profile
RUN cp /root/.bashrc /home/$USER/.bashrc && chown $USER:$USER /home/$USER/.bashrc
RUN cp /root/.profile /home/$USER/.profile && chown $USER:$USER /home/$USER/.profile

#USER $UID:$GID
#WORKDIR /home/$USER

CMD ["/bin/bash","--login"]
#CMD ["/usr/share/rvm/rubies/ruby-2.7.1/bin/irb"]
end

#expose 3000
expose 3008

mount do_plain
  $PWD:/opt/raising/raising
  ../rails6:/opt/raising/rails6
  ../../stateful_gem:/opt/dev-deps/stateful_gem
  ../lib/acts_as_tree:/opt/dev-deps/acts_as_tree
end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
Hitcher-0.1.3 cspec