One command to build and run a Dockerfile

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