Skip to content

Commit 7d28dfe

Browse files
author
Ryan Patrick Kyle
committed
add Dockerfile
1 parent 13ec17a commit 7d28dfe

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

build/.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
README.md

build/Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM circleci/python:3.7-stretch-node-browsers
2+
MAINTAINER Ryan Patrick Kyle "[email protected]"
3+
4+
RUN sudo apt-get update \
5+
&& sudo apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false
6+
7+
RUN cd /usr/local/src \
8+
&& sudo mkdir /usr/local/src/julia \
9+
&& sudo curl -o julia.tar.gz --location --show-error \
10+
https://julialang-s3.julialang.org/bin/linux/x64/1.4/julia-1.4.1-linux-x86_64.tar.gz \
11+
&& sudo tar --extract --gzip --strip 1 --directory=/usr/local/src/julia --file=julia.tar.gz \
12+
&& sudo ln -s /usr/local/src/julia/bin/julia /usr/local/bin/julia

build/README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# plotly/julia:ci
2+
3+
#### This Dockerfile is currently used to support integration and unit tests for [Dash.jl](https://github.com/plotly/Dash.jl).
4+
5+
## Usage
6+
7+
This image is pulled from within Dash.jl's [config.yml](https://github.com/plotly/Dash.jl/blob/dev/.circleci/config.yml):
8+
9+
```yaml
10+
docker:
11+
- image: plotly/julia:ci
12+
```
13+
14+
## Publication details
15+
16+
[plotly/julia:ci](https://hub.docker.com/r/plotly/julia/tags)
17+
18+
## Limitations
19+
20+
The current revision of this Dockerfile fixes the Julia version at a given release, so only manual updating is possible. The image is based on `circleci/python:3.7-stretch-node-browsers` rather than the [docker-library](https://github.com/docker-library/julia) or [julia-latest](https://hub.docker.com/_/julia?tab=tags) images.

0 commit comments

Comments
 (0)