Skip to content

tkt-dockers/selenium-crystal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Selenium-Crystal

What for

For using Selenium(ChromeDriver) with Crystal lang

Attentions

  • Use user seluser to use selenium
    • Don't forget add a permission of your directory by sudo chown -R seluser:seluser YOUR_DIR_PATH

Config

ARG

  • CRYSTAL_VER (Default: 0.32.1)

ENV

  • CRYSTAL_CACHE_DIR (Default: $HOME/.cashe/crystal)

Base Image

  • selenium/standalone-chrome

Sample

FROM tktcorporation/selenium-crystal:latest

WORKDIR /srv/crawler

COPY ./ ./
RUN sudo chown -R seluser:seluser /srv/crawler

RUN shards

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published