|
This is in the context of the Docker appliance deployment type. After making some small changes to my fork of the Extract service: I want to test this one by replacing the Extract service container in the deployment. I have been trying the following: git clone https://github.com/utkonos/assemblyline-service-extract.git
cd assemblyline-service-extract
docker build -t cccs/assemblyline-service-extract:custom .
docker run -dp 32000:5000 --restart=always --name registry registry
docker tag cccs/assemblyline-service-extract:custom localhost:32000/cccs/assemblyline-service-extract:custom
docker push --all-tags localhost:32000/cccs/assemblyline-service-extractThen I modify the line in But the container is not starting and not listed by What am I missing? I didn't notice content in the documentation about this process, but if I missed something please let me know. |
Replies: 4 comments 15 replies
|
@cccs-rs is there documentation for the proper process for adding a feature to a default service (Extract in this case)? The dependency in the extract service that handles NSIS installers is currently not fully working. Installers that use bzip2 compression are not being fully extracted. The script (.nsi) is missing from these because the library being used for NSIS extraction uses a SWIG wrapper around the source code for NSIS's bzip2 implementation. But that SWIG wrapper is broken. To solve this problem, I wrote a pure Python implementation of the NSIS fork of bzip2: I incorporated it into an RE framework I'm working on for NSIS installers: I used these two to fix up the NSIS extraction process in the Extract service. But I am not able to see the Extract service running as above. Any idea what the problem is? |
@cccs-rs Every time I see |
|
@cccs-rs @gdesmar Rather than using the localhost registry, I am trying to isolate variables and problems. I have pushed the container with the nsis modifications to docker's hub. I changed First, the extract service is showing disabled: Then in the service details, under container, it still shows the wrong container: If I modify the container image name and try to enable the container, it doesn't work: But enable does not work. There is now a update button that has appeared: |
|
Just to summarize in one place.
export VERSION=4.6.0.stable4
docker build -t foo/assemblyline-service-extract:$VERSION --build-arg version=$VERSION .
docker tag foo/assemblyline-service-extract:$VERSION foo/assemblyline-service-extract:$VERSION
docker push foo/assemblyline-service-extract:$VERSION |













Just to summarize in one place.
docker_config.imagefield inservice_manifest.yml. Here is the location.footo your Docker hub repository name. And change the version to an appropriate number that is compatible with the version of AL that you're deploying to.service_extract.imagefield inbootstrap-compose.yaml. Make sure to have the version tag here match the version in the previous step. Here is the location.