Sha256: 63bb9947c93b05d071e5222e83862a8001588c7425ef8b9f365baa827c09b7ac

Contents?: true

Size: 788 Bytes

Versions: 5

Compression:

Stored size: 788 Bytes

Contents

FROM ruby:2.7.6
LABEL version="0.1"
LABEL maintainer="chris"
LABEL description="Dockerfile generated by dockerun" 
LABEL dockerun-info="https://github.com/chrisliaw/dockerun"


RUN apt-get update && apt-get install -y sudo git curl build-essential vim




RUN groupadd -f -g 1000  chris && \ 
    useradd -u 1000 -g 1000 -m chris && \
    usermod -aG sudo chris && \ 
    echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers

USER chris

# from this point onwards, sudo is required for privileaged operation
#RUN sudo apt-get install -y curl build-essential


COPY on_docker_config /home/chris/docker_init.rb 
#RUN chown chris:chris /home/chris/docker_init.rb
RUN ruby /home/chris/docker_init.rb





WORKDIR /opt


# other Dockerfile entries starts here

CMD [ "/bin/bash", "--login" ]

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dockerun-0.3.1 Dockerfile.dockerun
dockerun-0.2.3 Dockerfile.dockerun
dockerun-0.2.2 Dockerfile.dockerun
dockerun-0.2.1 Dockerfile.dockerun
dockerun-0.2.0 Dockerfile.dockerun