Skip to content

Commit 78b6e06

Browse files
committed
Docker update
1 parent 0e2e09b commit 78b6e06

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

miscs/docker/Dockerfile.ubuntu

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# Copyright © 2019-2023
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
# http://www.apache.org/licenses/LICENSE-2.0
7+
#
8+
# Unless required by applicable law or agreed to in writing, software
9+
# distributed under the License is distributed on an "AS IS" BASIS,
10+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
# See the License for the specific language governing permissions and
12+
# limitations under the License.
13+
114
# Use Ubuntu 20.04 as the base image
215
FROM ubuntu:20.04
316

miscs/docker/README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
You can install Docker desktop on MAC or PC or Ubuntu.
2+
3+
- PC: https://docs.docker.com/desktop/install/windows-install
4+
- MAC: https://docs.docker.com/desktop/install/mac-install
5+
- Ubuntu: https://docs.docker.com/desktop/install/ubuntu
6+
7+
### 1- Create a Docker image from the Dockerfile
8+
$ docker build -f Dockerfile.ubuntu -t vortex
9+
10+
### 2- Build the Docker image
11+
$ docker docker run -it vortex /bin/bash
12+
13+
### 3- Build the project
14+
One you login the Docker terminal, you will be in the build directory.
15+
16+
$ make -s
17+
18+
### 4- Run a simple test
19+
20+
$ ./ci/blackbox.sh --cores=2 --app=vecadd

0 commit comments

Comments
 (0)