File tree 1 file changed +9
-6
lines changed
1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -11,24 +11,27 @@ RUN groupadd --system dev --gid 1000 && \
11
11
--comment "Docker image user" dev && \
12
12
chown -R dev:dev /home/dev
13
13
14
- # NOTE(danny): this will become outdated faster than docker swarm in 2018, so keep an eye on it
15
- # NOTE(danny): you should probably keep this locally as clion.tar.gz when testing
16
- # but make sure to comment out the tar in the .dockerignore file
17
- ADD https://download.jetbrains.com/cpp/CLion-2018.1.tar.gz /opt
18
-
19
14
# it's a raspberry pi now (the password is raspberry)
20
15
RUN echo "dev:raspberry" | chpasswd && adduser dev sudo
21
16
22
17
# Install make and compilers and extra stuff
23
18
RUN apt-get update && \
24
19
apt-get install -y \
25
20
build-essential autoconf automake \
26
- sudo vim nano git curl \
21
+ sudo vim nano git curl wget \
27
22
python-numpy python-scipy python-opencv && \
28
23
apt-get clean && \
29
24
rm -rf /var/lib/apt/lists/* && \
30
25
rm -rf /tmp/*
31
26
27
+ # CLion version
28
+ ENV VERSION 2018.1
29
+ # NOTE(danny): this will become outdated faster than docker swarm in 2018, so keep an eye on it
30
+ # NOTE(danny): you should probably keep this locally as clion.tar.gz when testing
31
+ # but make sure to comment out the tar in the .dockerignore file
32
+ WORKDIR /opt
33
+ RUN curl -L https://download.jetbrains.com/cpp/CLion-$VERSION.tar.gz | tar xvz
34
+
32
35
# override the ROS entrypoint
33
36
ENTRYPOINT []
34
37
USER dev
You can’t perform that action at this time.
0 commit comments