Skip to content

Commit

Permalink
Merge pull request #17 from wdhif/dev/wassim.dhif/fix-build
Browse files Browse the repository at this point in the history
Update Ruby to 2.7.6
  • Loading branch information
wdhif committed Oct 10, 2022
2 parents d508c7f + 5ee8e13 commit a741d98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.6'
ruby-version: '2.7.6'
bundler-cache: true
- run: bundle exec rspec
docker:
Expand Down
31 changes: 5 additions & 26 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,25 +1,7 @@
# Copyright (c) 2017 rockyluke
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM debian:bullseye

FROM debian:jessie

ENV DEBIAN_FRONTEND=noninteractive \
TZ=Europe/Amsterdam

RUN apt-get update -qq && \
apt-get upgrade -qq -y && \
apt-get install -qq -y \
RUN apt-get update && \
apt-get install --no-install-recommends -y \
build-essential \
bundler \
git-core \
Expand All @@ -29,13 +11,10 @@ RUN apt-get update -qq && \
apt-get autoclean && \
apt-get autoremove

RUN git clone https://github.com/wdhif/gitlabci-cli.git /usr/src && \
cd /usr/src && \
bundle install

RUN git clone https://github.com/wdhif/gitlabci-cli.git /usr/src
WORKDIR /usr/src
RUN bundle install

ENTRYPOINT [ "bundle", "exec", "gitlabci-cli" ]

CMD [ "help" ]
# EOF

0 comments on commit a741d98

Please sign in to comment.