Skip to content

Commit

Permalink
Move docker image under kiskolabs
Browse files Browse the repository at this point in the history
  • Loading branch information
amkisko committed Sep 27, 2023
1 parent cf65bab commit 18330dc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ RUN echo 'export PATH="~/.nodenv/bin:$PATH"; eval "$(nodenv init -)"' > /etc/pro
RUN mkdir -p "$(nodenv root)"/plugins
RUN git clone https://github.com/nodenv/node-build.git "$(nodenv root)"/plugins/node-build
RUN git clone https://github.com/nodenv/nodenv-aliases.git $(nodenv root)/plugins/nodenv-aliases
RUN nodenv install 19.6.0
RUN nodenv install 18.17.1

RUN git clone https://github.com/rbenv/rbenv.git ~/.rbenv
RUN echo 'export PATH="~/.rbenv/bin:$PATH"; eval "$(rbenv init -)"' > /etc/profile.d/rbenv_init.sh
RUN mkdir -p "$(rbenv root)"/plugins
RUN git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build
RUN rbenv install 3.2.0
RUN rbenv install 3.2.2

WORKDIR /tmp/awscli
COPY aws-cli.key .
Expand All @@ -42,10 +42,10 @@ RUN gpg --import aws-cli.key && \

RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
RUN sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
RUN apt-get -y update
RUN apt-get update -y --allow-releaseinfo-change
RUN apt-get install -y google-chrome-stable
RUN echo "CHROME_BIN=/usr/bin/google-chrome" | tee -a /etc/environment
RUN rm -f /etc/cron.daily/google-chrome /etc/apt/sources.list.d/google-chrome.list /etc/apt/sources.list.d/google-chrome.list.save
RUN rm -f /etc/cron.daily/google-chrome /etc/apt/sources.list.d/google-chrome.list* /etc/apt/sources.list.d/google-chrome-unstable.list*

RUN apt-get install -yqq unzip
RUN wget -O /tmp/chromedriver.zip http://chromedriver.storage.googleapis.com/`curl -sS chromedriver.storage.googleapis.com/LATEST_RELEASE`/chromedriver_linux64.zip
Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

docker build . --tag amkisko/debian-rbenv-nodenv
docker push amkisko/debian-rbenv-nodenv:latest
docker build . --tag kiskolabs/debian-rbenv-nodenv --no-cache
docker push kiskolabs/debian-rbenv-nodenv:latest

0 comments on commit 18330dc

Please sign in to comment.