I have recently purchased my first MikroTik product - the hAP ax3 router. I was pleased to discover it supports container images and was eager to test it. However, after building a custom Dradis-CE (https://github.com/dradis/dradis-ce) container image and uploading it into a router-attached SSD, I, unfortunately, couldn't get it to run. Every time I tried to start the container, it'd soon change the status to 'stopped.' After inspecting the logs, I only found these relevant lines that happened each time to start the container:
Code: Select all
Buffer memory
Topics container, info, debug
Message execve: No such file or directory
Code: Select all
FROM ruby:3.1.2
MAINTAINER Someone Someone <me@mail.com>
# Need Node.JS to provide a JavaScript runtime for Rails
RUN apt-get update -qq && apt-get install -y nodejs
#Create top level dir otherwise we get plugins in the root
RUN mkdir dradis
# Clone only the v4.7.0 branch of Dradis
RUN cd dradis && git clone -b v4.7.0 --single-branch https://github.com/dradis/dradis-ce.git
# Set the work directory to be /dradisframework
WORKDIR /dradis/dradis-ce
# install the bundle (get an error on bin/setup if this doesn't go first)
RUN bundle install
# run the setup
#RUN ruby bin/setup
CMD ["ruby", "bin/setup"]