Docker update

This commit is contained in:
Blaise Tine 2024-06-13 02:14:54 -07:00
parent 0e2e09b2ea
commit 78b6e0638c
2 changed files with 33 additions and 0 deletions

View file

@ -1,3 +1,16 @@
# Copyright © 2019-2023
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Use Ubuntu 20.04 as the base image
FROM ubuntu:20.04

20
miscs/docker/README.md Normal file
View file

@ -0,0 +1,20 @@
You can install Docker desktop on MAC or PC or Ubuntu.
- PC: https://docs.docker.com/desktop/install/windows-install
- MAC: https://docs.docker.com/desktop/install/mac-install
- Ubuntu: https://docs.docker.com/desktop/install/ubuntu
### 1- Create a Docker image from the Dockerfile
$ docker build -f Dockerfile.ubuntu -t vortex
### 2- Build the Docker image
$ docker docker run -it vortex /bin/bash
### 3- Build the project
One you login the Docker terminal, you will be in the build directory.
$ make -s
### 4- Run a simple test
$ ./ci/blackbox.sh --cores=2 --app=vecadd