diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index 454794fb..00000000 --- a/.dockerignore +++ /dev/null @@ -1,2 +0,0 @@ -.git* -Dockerfile \ No newline at end of file diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 2259ebe7..56ede141 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -16,8 +16,3 @@ updates: schedule: interval: "weekly" open-pull-requests-limit: 5 - - package-ecosystem: "docker" - directory: "/" - schedule: - interval: "weekly" - open-pull-requests-limit: 5 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index c27c32a9..00000000 --- a/Dockerfile +++ /dev/null @@ -1,45 +0,0 @@ -FROM ruby:3.2.2 -# Install apt based dependencies required to run Rails as -# well as RubyGems. As the Ruby image itself is based on a -# Debian image, we use apt-get to install those. -RUN apt-get update && apt-get install -yqq --no-install-recommends build-essential zip unzip libpq-dev libaio1 libaio-dev nodejs - -# install chrome (https://github.com/CircleCI-Public/circleci-dockerfiles/blob/master/ruby/images/3.2.2-stretch/browsers/Dockerfile) - -RUN curl --silent --show-error --location --fail --retry 3 --output /tmp/google-chrome-stable_current_amd64.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \ - && ( dpkg -i /tmp/google-chrome-stable_current_amd64.deb || apt-get -fy install) \ - && rm -rf /tmp/google-chrome-stable_current_amd64.deb \ - && sed -i 's|HERE/chrome"|HERE/chrome" --disable-setuid-sandbox --no-sandbox|g' \ - "/opt/google/chrome/google-chrome" \ - && google-chrome --version - -RUN CHROME_VERSION="$(google-chrome --version)" \ - && export CHROMEDRIVER_RELEASE="$(echo $CHROME_VERSION | sed 's/^Google Chrome //')" && export CHROMEDRIVER_RELEASE=${CHROMEDRIVER_RELEASE%%.*} \ - && CHROMEDRIVER_VERSION=$(curl --silent --show-error --location --fail --retry 4 --retry-delay 5 http://chromedriver.storage.googleapis.com/LATEST_RELEASE_${CHROMEDRIVER_RELEASE}) \ - && curl --silent --show-error --location --fail --retry 4 --retry-delay 5 --output /tmp/chromedriver_linux64.zip "http://chromedriver.storage.googleapis.com/$CHROMEDRIVER_VERSION/chromedriver_linux64.zip" \ - && cd /tmp \ - && unzip chromedriver_linux64.zip \ - && rm -rf chromedriver_linux64.zip \ - && mv chromedriver /usr/local/bin/chromedriver \ - && chmod +x /usr/local/bin/chromedriver \ - && chromedriver --version - -# Configure the main working directory. This is the base -# directory used in any further RUN, COPY, and ENTRYPOINT -# commands. -RUN mkdir -p /aaec -WORKDIR /aaec -# Copy the Gemfile as well as the Gemfile.lock and install -# the RubyGems. This is a separate step so the dependencies -# will be cached unless changes to one of those two files -# are made. -COPY Gemfile Gemfile.lock ./ -RUN gem install bundler && bundle install --jobs 20 --retry 5 -# Expose port 3000 to the Docker host, so we can access it -# from the outside. -EXPOSE 3000 -# Configure an entry point, so we don't need to specify -# "bundle exec" for each of our commands. -# ENTRYPOINT ["bundle", "exec"] - -# Pulled from https://rollout.io/blog/running-rails-development-environment-docker/ \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index cfed0e03..00000000 --- a/docker-compose.yml +++ /dev/null @@ -1,21 +0,0 @@ -version: "3.7" -services: - aaec: - # command: bash -c "rails db:migrate && rails db:seed && rails server -p 3000 -b '0.0.0.0'" - command: bash -c "rubocop -a && rspec" - container_name: aaec - image: aaec - environment: - - SPROCKETS_CACHE=/cache - - .:/aaec - ports: - - "3000:3000" - stdin_open: true - tty: true - volumes: - - .:/aaec - - bundle:/bundle - - cache:/cache -volumes: - bundle: - cache: \ No newline at end of file