Skip to content

Commit 1495b55

Browse files
committed
Fix tar unpacking
1 parent fe8cb0c commit 1495b55

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

Dockerfile

+9-6
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,27 @@ RUN groupadd --system dev --gid 1000 && \
1111
--comment "Docker image user" dev && \
1212
chown -R dev:dev /home/dev
1313

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-
1914
# it's a raspberry pi now (the password is raspberry)
2015
RUN echo "dev:raspberry" | chpasswd && adduser dev sudo
2116

2217
# Install make and compilers and extra stuff
2318
RUN apt-get update && \
2419
apt-get install -y \
2520
build-essential autoconf automake \
26-
sudo vim nano git curl \
21+
sudo vim nano git curl wget \
2722
python-numpy python-scipy python-opencv && \
2823
apt-get clean && \
2924
rm -rf /var/lib/apt/lists/* && \
3025
rm -rf /tmp/*
3126

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+
3235
# override the ROS entrypoint
3336
ENTRYPOINT []
3437
USER dev

0 commit comments

Comments
 (0)