Skip to content

Commit

Permalink
Some Docker cleanup/clarifications.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Sep 26, 2023
1 parent dd7eacc commit 655160d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions DOCKER.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,18 @@ containing this docker file run:
docker build -t ippsample .

You now can run the container with a bash terminal and go to the
`/root/ippsample` folder manually.
`/root/ippsample` folder manually:

docker run -it ippsample bash

You can also run one of the IPP binaries instead of the bash terminal.
Similarly, you can run the ippsample test suite with:

docker run -it ippsample make test

You can also run one of the IPP binaries instead of the bash terminal, for
example:

docker run -it ippsample ipptool -tv ipp://example.local/ipp/print get-printer-attributes.test


Building and Running with Docker Compose
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ ENTRYPOINT ["/usr/bin/entrypoint.sh"]
# Copy source files to image
COPY . /root/ippsample/
WORKDIR /root/ippsample
RUN ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var; test -f server/ippserver && make clean; make; make install
RUN ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var; test -f server/ippserver && make clean; make && make install

0 comments on commit 655160d

Please sign in to comment.