One command to build and run a Dockerfile

From razwiki
Revision as of 01:53, 4 January 2022 by Razzi (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 :|