I am a complete idiot when it comes to Docker.
I need to be able to run a LibreOffice’s ‘soffice’ command in CircleCi. I want it to be an image which goes into the CircleCi config yml file and my parents container to be able to access this functionality.
I am able to do,
docker run my-docker-repo/libre soffice --headless — works just fine locally, but how do I run this same command from CircleCi build step?
Thanks ahead of time!
This is my setup copied from circleci somewhere.
FROM circleci/openjdk:8u232-jdk-stretch RUN whoami USER root RUN apt-get update RUN apt-get -y install libreoffice --no-install-recommends --no-install-suggests # Basic smoke test RUN which soffice RUN soffice --version USER circleci