Verified Commit a514786c authored by Peter Stanko's avatar Peter Stanko
Browse files

Fix in the build

parent 1728443c
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -111,9 +111,10 @@ class DockerWrapper:

    def build_image(self, **kwargs):
        try:
            self.docker.images.build(**kwargs)
            return self.docker.images.build(**kwargs)
        except APIError as ex:
            log.error(f"[RMI] Cannot build the image: {ex}")
            return None

    def stop(self, submission: Submission):
        """Stops the container