Skip to content

Commit f594ce3

Browse files
authored
[scripts] fix gitpod open error (#4657)
* [scripts] fix gitpod dockerfile setting * [script] fix gitpod dockerfile * [script] remove r-with-intel-mkl not used * [script] remove dockerfile user
1 parent 0162743 commit f594ce3

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.gitpod.Dockerfile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
FROM gitpod/workspace-full
2-
3-
USER songmeixu
42

53
# Install custom tools, runtime, etc. using apt-get
64
# For example, the command below would install "bastet" - a command line tetris clone:
75
#
8-
# RUN sudo apt-get -q update && # sudo apt-get install -yq bastet && # sudo rm -rf /var/lib/apt/lists/*
6+
# RUN sudo apt-get -q update &&
7+
# sudo apt-get install -yq bastet &&
8+
# sudo rm -rf /var/lib/apt/lists/*
99
#
1010
# More information: https://www.gitpod.io/docs/config-docker/
1111

@@ -16,7 +16,6 @@ RUN sudo apt-get update \
1616
sox gfortran \
1717
&& sudo rm -rf /var/lib/apt/lists/*
1818

19-
RUN cd ~/GitHub/r-with-intel-mkl/ \
20-
&& wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB | sudo apt-key add - \
19+
RUN wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB | sudo apt-key add - \
2120
&& sudo sh -c 'echo deb https://apt.repos.intel.com/mkl all main > /etc/apt/sources.list.d/intel-mkl.list' \
22-
&& sudo apt-get update && sudo apt-get install intel-mkl-64bit
21+
&& sudo apt-get update && sudo apt-get install -y intel-mkl-64bit-2020.4-912

.gitpod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
image:
2-
file: .gitpod.dockerfile
2+
file: .gitpod.Dockerfile
33

44
tasks:
55
- init: echo "Replace me with a build script for the project."

0 commit comments

Comments
 (0)