Skip to content
This repository was archived by the owner on Jul 11, 2021. It is now read-only.

Commit 29713e2

Browse files
authored
Merge pull request #16 from danielemegna/docker_dev_environment
Docker dev environment
2 parents 10e02ca + ed8a421 commit 29713e2

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.gitignore

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

Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM scorpil/rust:stable
2+
3+
RUN apt update \
4+
&& apt install -y libclang-dev make
5+
6+
ENV REDIS_VERSION=4.0-rc3
7+
ENV REDIS_DOWNLOAD_URL=https://github.com/antirez/redis/archive/$REDIS_VERSION.tar.gz
8+
9+
RUN curl -fsOSL $REDIS_DOWNLOAD_URL \
10+
&& tar xzf $REDIS_VERSION.tar.gz \
11+
&& cd redis-$REDIS_VERSION \
12+
&& make

0 commit comments

Comments
 (0)