One command to build and run a Dockerfile: Difference between revisions

From razwiki
Jump to navigation Jump to search
(Created page with "About time I did this. <pre> pipenv-install-issue $ cat Dockerfile FROM ubuntu RUN apt-get update ENTRYPOINT /bin/bash </pre> Desired: <code>docker-shell</code> * builds...")
 
(No difference)

Latest revision as of 02:53, 4 January 2022

About time I did this.

pipenv-install-issue $ cat Dockerfile
FROM ubuntu

RUN apt-get update

ENTRYPOINT /bin/bash

Desired:

docker-shell

  • builds the image
  • runs the container
  • attaches fish :) or bash :|