Skip to content

Commit

Permalink
wip: try fixing setup-parallel error
Browse files Browse the repository at this point in the history
  • Loading branch information
vasconsaurus committed Aug 29, 2024
1 parent 600c260 commit 2a40a62
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ RUN apt-get update && apt-get install -y curl \
# pender user
RUN mkdir -p ${DIRPATH}
RUN useradd ${APP} -s /bin/bash -m
USER ${APP}
WORKDIR ${DIRPATH}

# install our app
COPY --chown=${APP} Gemfile Gemfile.lock ./
COPY Gemfile Gemfile.lock ./
RUN gem install bundler -v ${BUNDLER_VERSION} --no-document \
&& bundle install --jobs 20 --retry 5
COPY --chown=${APP} . ./
&& bundle install --jobs 20 --retry 5
COPY . ./
RUN chmod +x ./bin/docker-entrypoint.sh

# DEV
RUN chmod +x ./bin/docker-entrypoint.sh
USER ${APP}
EXPOSE 3200
ENTRYPOINT ["./bin/docker-entrypoint.sh"]

Expand Down
1 change: 0 additions & 1 deletion test/setup-parallel
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ FAIL=0

rm -rf /app/pender/tmp/cache /app/pender/tmp/cache1 /app/pender/tmp/cache2 /app/pender/tmp/cache3
mkdir -p /app/pender/tmp/cache /app/pender/tmp/cache1 /app/pender/tmp/cache2 /app/pender/tmp/cache3
chmod 0664 /app/pender/log

bundle exec rake db:create db:migrate &
TEST_ENV_NUMBER=1 bundle exec rake db:create db:migrate &
Expand Down

0 comments on commit 2a40a62

Please sign in to comment.