Skip to content

Commit

Permalink
I think is a nested issue
Browse files Browse the repository at this point in the history
  • Loading branch information
polographer committed Nov 7, 2024
1 parent c888e1d commit 67e3565
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .docker/production/Dockerfile.gha
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ ENV RABBITMQ_URL=amqp://${HOSTNAME}:5672
# COPY --chown=$USERNAME:$USERNAME ./.docker/config/exchange_information.rb $HOME/app/models
# COPY --chown=$USERNAME:$USERNAME ./.docker/config/exchange.yml $HOME/config

RUN mkdir -p /edidb/log/

COPY --chown=$USERNAME:$USERNAME ./config/exchange_prod.yml $HOME/config/exchange.yml
COPY --chown=$USERNAME:$USERNAME ./config/exchange_information.rb $HOME/app/models

Expand Down
28 changes: 28 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
FROM --platform=linux/amd64 debian:stretch
RUN echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list
RUN echo "deb http://archive.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list

RUN apt-get update && \
apt-get install -y git gcc openssl libyaml-dev libyaml-cpp-dev curl libffi-dev libreadline-dev \
zlibc libgdbm-dev libncurses-dev autoconf fontconfig unzip zip sshpass bzip2 libxrender1 libxext6 \
build-essential libxml2 libxml2-dev libxslt1-dev libz-dev libssl1.0-dev python

WORKDIR /usr/src/
RUN curl -O https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.10.tar.bz2
RUN tar xjf ruby-2.1.10.tar.bz2
RUN cd ruby-2.1.10 && ./configure && make -j 2
RUN cd ruby-2.1.10 && make install

WORKDIR /usr/src/app
# Adding gems
COPY Gemfile Gemfile
COPY Gemfile.lock Gemfile.lock

RUN gem install bundler --version "1.17.3"

# Setting env up
ARG GEM_OAUTH_TOKEN
ENV BUNDLE_GITHUB__COM=x-access-token:"$GEM_OAUTH_TOKEN"

RUN bundle install --jobs 20 --retry 5

0 comments on commit 67e3565

Please sign in to comment.