Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Latest commit

 

History

History
60 lines (36 loc) · 1.58 KB

README.md

File metadata and controls

60 lines (36 loc) · 1.58 KB

pspdev-docker

Publish Docker image

What does this do?

This program will automatically build a docker image with the pspdev toolchain ready to be used for homebrew development.

How do I build it?

Build the image:

sudo docker build -t pspdev-docker .

Copy the helper script:

sudo cp pspdev-docker /usr/local/bin

How do I use it?

Use the helper script to run commands in the current directory:

pspdev-docker make

How do I save and load it?

Save the image:

sudo docker save pspdev-docker | bzip2 > pspdev-docker.tar.bz2

Load the image:

sudo docker load < bzip2 -dc pspdev-docker.tar.bz2

How do I remove it?

Remove the image:

sudo docker rmi pspdev-docker

Remove the helper script:

sudo rm /usr/local/bin/pspdev-docker

Docker Windows

Only follow these instructions if you use Docker Desktop on Windows (and not Linux like previously).

How do I build it? Docker Desktop Edition (Windows)

Build the image:

In Command Line, docker build -t pspdev-docker .

How do I use it?

Run docker run -v %cd%:/build --rm pspdev-docker make in Command Line to build your homebrew in the same folder your Makefile and source code is present.

How do I save and load it?

Save the image:

docker save pspdev-docker | bzip2 > pspdev-docker.tar.bz2

Load the image:

docker load < bzip2 -dc pspdev-docker.tar.bz2

Basic troobleshooting

Try to run your command line as admin.