Skip to content

Commit

Permalink
Build ruby 3.2.2build3 using Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryrck committed Oct 7, 2024
1 parent 253c0c5 commit c172d26
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/build-docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build Docker Image

on:
push:
branches:
- production

jobs:
build-docker-image:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@master
- name: docker login
env:
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
run: echo $DOCKER_TOKEN | docker login --username $DOCKER_USERNAME --password-stdin
- run: \rm -fr .git
- run: docker build -t dmitryrck/ruby:3.2.2build3 dockerfiles/3.2.2build3
- run: docker push dmitryrck/ruby:3.2.2build3
1 change: 0 additions & 1 deletion dockerfiles/3.2.2build3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ env \
NODE_VERSION=18.14.2

run \
sed -i "/deb-src/d" /etc/apt/sources.list && \
wget -q -O- https://dl.google.com/linux/linux_signing_key.pub | apt-key add - && \
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google.list && \
apt-get update && \
Expand Down

0 comments on commit c172d26

Please sign in to comment.