ippsample icon indicating copy to clipboard operation
ippsample copied to clipboard

Test docker image

Open thenewguy opened this issue 4 years ago • 8 comments

We create a docker image. We should run some tests against it to make sure it works as expected before uploading it

thenewguy avatar Oct 10 '21 17:10 thenewguy

@michaelrsweet I haven't read how the test suite works. Any suggestions for commands we can run against the image to verify all is in working order? Is it possible to reuse any of the test suite against the built image

thenewguy avatar Oct 10 '21 17:10 thenewguy

@thenewguy Right now there isn't a test suite - it's on the TODO list... :/

michaelrsweet avatar Oct 10 '21 21:10 michaelrsweet

#242 adds some simple sanity tests that the expected commands are available and are able to be executed. A few gotchas to fix per #244 but this minimally confirms the docker image is usable

thenewguy avatar Oct 11 '21 11:10 thenewguy

Hello There! The Docker-image u create, is it ready to use? I used the Compose-File in the Project-Direcory, but it says "Error: Service 'ippserver' failed to build: Build failed

RomanWoerner avatar Jul 13 '22 07:07 RomanWoerner

@RomanWoerner I'm not sure why the build is failing now, investigating...

michaelrsweet avatar Jul 14 '22 12:07 michaelrsweet

@RomanWoerner OK, I think I've fixed the build via docker build -t ippsample . - let me know how it works for you.

michaelrsweet avatar Jul 14 '22 12:07 michaelrsweet

@RomanWoerner I've also updated the docker compose support and fixed a bug in the conf file loading code - seems to all be working now.

michaelrsweet avatar Jul 14 '22 12:07 michaelrsweet

Hey ! Thank u for ur quick answer and help! I now have a Error, that says executor failed running [/bin/sh -c ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var; test -f server/ippserver && make clean; make; make install]: exit code: 2 . Maybe i do something wrong. What i did -> Downloaded ur updated folder-> Started Docker with elevated Privileges (Administrator Win10) -> Changed into the Directory and used docker build -t ippsample . . I Already searched in Google for a solution, before i comment here again. Some Arguments for elevated permissions and stuff didnt change the error-code. I run Docker with the Default Settings and on WSL2.

RomanWoerner avatar Jul 14 '22 14:07 RomanWoerner

[master 655160d] Some Docker cleanup/clarifications.

michaelrsweet avatar Sep 26 '23 13:09 michaelrsweet