aboutsummaryrefslogtreecommitdiff
path: root/docker/webpull/Dockerfile.ruby
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2020-04-21 12:38:15 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2020-04-21 12:38:15 +0200
commit1c4bc090fc737662740260a6ad88709b87d1b83c (patch)
tree5aa3ab76c28b7c24382070a7d898ee98642f3538 /docker/webpull/Dockerfile.ruby
parent4c2ae7f696b06b4f926c0115de63046686db6ef9 (diff)
downloadinfrastructure-1c4bc090fc737662740260a6ad88709b87d1b83c.tar.gz
infrastructure-1c4bc090fc737662740260a6ad88709b87d1b83c.zip
Improve webpull
Diffstat (limited to 'docker/webpull/Dockerfile.ruby')
-rw-r--r--docker/webpull/Dockerfile.ruby12
1 files changed, 12 insertions, 0 deletions
diff --git a/docker/webpull/Dockerfile.ruby b/docker/webpull/Dockerfile.ruby
new file mode 100644
index 0000000..7578cca
--- /dev/null
+++ b/docker/webpull/Dockerfile.ruby
@@ -0,0 +1,12 @@
+FROM fedora:32
+
+ENV LC_ALL=C.UTF-8
+ENV LANG=C.UTF-8
+ENV LANGUAGE=en_US.UTF-8
+ENV RUBYOPT --disable-did_you_mean
+
+RUN dnf install -y git ruby ruby-devel rubygems rubygem-bundler @development-tools redhat-rpm-config gcc-c++ zlib-devel
+
+COPY ./main /srv/httpd
+WORKDIR /srv
+CMD ["/srv/httpd"]