Skip to content

Latest commit

 

History

History
81 lines (55 loc) · 4.13 KB

README.md

File metadata and controls

81 lines (55 loc) · 4.13 KB

Docker Stars Docker Pulls Docker Build Status

Supported tags and respective Dockerfile links

The Docker file also visible on the Docker Hub page: https://hub.docker.com/r/06kellyjac/nyancat/~/dockerfile/

How to use this image

It's simple, just run the following in your terminal:

Standard Scratch:

docker run -it --rm --name nyancat 06kellyjac/nyancat

Alpine:

docker run -it --rm --name nyancat 06kellyjac/nyancat:alpine

These commands create a docker container named nyancat that will remove its self when closed.

To exit press Ctrl+C

Quick reference

What is Nyancat

Nyancat is pretty cool. It's a pop-tart cat flying through space. 🐱‍🚀

wikipedia.org/wiki/Nyan_Cat

The goal of this project was to make a lightweight image for Nyancat. There are two versions shipped:

  • latest / scratch
    • 332KB Compressed
      • built from scratch which is a special empty image
    • Uses a binary compiled from the Nyancat CLI source code: source
    • The binary runs on the Docker scratch image for absolute minimal size
      • The binary was compiled with make SHARED=0 CC='gcc -static -s' to get a static binary if you want to build this image yourself with the Nyancat CLI source for additional peace of mind! 😊
  • alpine
    • 2MB Compressed + the base alpine image 2MB
      • Built from alpine which is also 2MB Compressed for a total install of 4MB
      • If you have alpine cached (which you hopefully do, it's pretty great) you will only be downloading the 2MB
    • Alpine is a very small version of linux and builds the source code from a zip provided here:

Thanks go to Klange and contributors on GitHub for the Nyancat CLI source.

The source used in this image: https://github.com/klange/nyancat

Licence

View licence information for the software contained in this image.

View licence information for the container setup.