Skip to content

Commit

Permalink
Merge 74beb75 into 83d8b34
Browse files Browse the repository at this point in the history
  • Loading branch information
antis81 committed Mar 22, 2020
2 parents 83d8b34 + 74beb75 commit 37a0d9a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:buster-slim
FROM debian:jessie-slim

RUN apt-get update && \
apt-get install --no-install-recommends -y \
Expand Down
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,22 @@ grab a cup of coffee/tea in the meantime.
git clone https://github.com/TokTok/apidsl
cd apidsl
# Build "apidsl" Docker image based on Dockerfile instructions
sudo docker build -t apidsl .
docker build -t apidsl .
# Run the image, i.e. execute the CMD part of the Dockerfile, mounting the
# current directory (the APIDSL repository) as /apidsl inside the image
sudo docker run --rm -v $PWD:/apidsl apidsl
docker run --rm -v $PWD:/apidsl apidsl
# Make sure apigen.native has appeared in the current directory
ls -lbh apigen.native
# Copy it over to /usr/local/bin
sudo cp ./apigen.native /usr/local/bin/

# Optional Cleanup
# Delete the image we have built
sudo docker rmi apidsl debian:jessie-slim
# Make sure there are no containers or images left, as
# they take a lot of disk space and are not needed anymore
sudo docker ps -a
sudo docker images -a
docker rmi apidsl debian:stretch-slim
# Make sure no related containers or images are left.
# They may use a lot of disk space.
docker ps -a
docker images -a
```

You should now have `/usr/local/bin/apigen.native`.
Expand Down

0 comments on commit 37a0d9a

Please sign in to comment.