Skip to content

Commit 005cc36

Browse files
committed
[Infra]: - Adding /bin/bash as the doceker entry point
- Adding VTR_ROOT env and set as docekr working directory Signed-off-by: Seyed Alireza Damghani <[email protected]>
1 parent 4c0c822 commit 005cc36

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.gitpod.Dockerfile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
FROM gitpod/workspace-full:latest
22

3+
# get the permission
34
USER root
5+
46
# Install util tools.
57
RUN apt-get update \
68
&& apt-get install -y \
@@ -31,9 +33,14 @@ RUN apt-get update \
3133
&& apt-get clean \
3234
&& rm -rf /var/lib/apt/lists/*
3335

36+
# set out workspace
37+
ENV VTR_ROOT=/workspace/vtr-verilog-to-routing
38+
WORKDIR ${VTR_ROOT}
39+
40+
CMD [ "/bin/bash" ]
3441

3542
# Give back control
3643
USER root
3744

3845
# Cleaning
39-
RUN apt-get clean
46+
RUN apt-get clean

0 commit comments

Comments
 (0)