Skip to content

Commit 6751533

Browse files
authored
add colibri docker (#10)
1 parent c4c9f1f commit 6751533

2 files changed

Lines changed: 38 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111

1212
jobs:
1313

14-
base:
14+
multi-simulator:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v2
@@ -21,3 +21,14 @@ jobs:
2121
echo "${{ secrets.DOCKER_PASS }}" | docker login -u "${{ secrets.DOCKER_USER }}" --password-stdin
2222
docker push terostech/multi-simulator
2323
docker logout
24+
25+
colibri:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: actions/checkout@v2
29+
- run: docker build -t terostech/colibri - < colibri.dockerfile
30+
- name: Deploy to hub.docker.com
31+
run: |
32+
echo "${{ secrets.DOCKER_PASS }}" | docker login -u "${{ secrets.DOCKER_USER }}" --password-stdin
33+
docker push terostech/colibri
34+
docker logout

colibri.dockerfile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
FROM ubuntu
2+
3+
LABEL Mantainers="Carlos Alberto, Ismael Perez, Alfredo Enrique Saez"
4+
5+
ENV HOME /home
6+
WORKDIR /home
7+
8+
RUN apt-get update -qq \
9+
&& DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends \
10+
apt-utils \
11+
git \
12+
bzip2 \
13+
python3.7 \
14+
python3-pip \
15+
python3-dev \
16+
nodejs \
17+
npm \
18+
wget \
19+
&& pip3 install vunit_hdl
20+
RUN npm install -g n \
21+
&& n stable
22+
RUN mkdir /app \
23+
&& cd /app \
24+
&& git clone https://github.com/TerosTechnology/colibri.git \
25+
&& cd colibri \
26+
&& npm install -g .

0 commit comments

Comments
 (0)