Skip to content

How to deactivate plugins? #34

@KonradHoeffner

Description

@KonradHoeffner

I want to deactivate loading the plugins in tenforce/docker-virtuoso:latest but none of the following approaches work, what is the correct way to do this?

FROM tenforce/virtuoso:latest
# This will throw an error
ENV VIRT_Parameters_Load1=
# Any of those lines has no effect at all
RUN ["sed", "-i", "s|^Load|;Load|", "/data/virtuoso.ini"]
RUN ["sed", "-i", "s|^Load|;Load|", "/virtuoso.ini"]     
RUN ["sed", "-i", "s|^Load|;Load|", "/usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.ini"]             
# Just for testing, also no effect
RUN rm /virtuoso.ini    
RUN rm /usr/local/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.ini

The problem seems to be that Virtuoso is always autoregenerating the virtuoso.ini, but any virtuoso.ini that I find in the image via locate seems to be the wrong one.
While ENV VIRT_... allows to overwrite values in virtuoso.ini, I don't see a way to unset a value.

Also, the virtuoso.ini in the root of this repository doesn't have Load1...4 enabled but the one in the image does have it, even thought the file hasn't changed in many months.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions