Gitpod workspace path update due to repo rename

Gitpod workspace path is based on repo name... it was `/workspace/Pinetime`, 
but after the repo rename it's now `/workspace/InfiniTime`. 
Also added second pip call as it's in the main dockerfile.
This commit is contained in:
Peter 2021-04-18 17:23:28 +10:00 committed by GitHub
parent 77470e73f9
commit f8c502e447
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,15 +14,16 @@ RUN apt-get update -qq \
python3-pip \ python3-pip \
tar \ tar \
unzip \ unzip \
wget \ wget \
# aarch64 packages # aarch64 packages
libffi-dev \ libffi-dev \
libssl-dev \ libssl-dev \
python3-dev \ python3-dev \
&& rm -rf /var/cache/apt/* /var/lib/apt/lists/*; && rm -rf /var/cache/apt/* /var/lib/apt/lists/*;
# Needs to be installed as root # Needs to be installed as root
RUN pip3 install adafruit-nrfutil RUN pip3 install adafruit-nrfutil
RUN pip3 install -Iv cryptography==3.3
COPY docker/build.sh /opt/ COPY docker/build.sh /opt/
# Lets get each in a separate docker layer for better downloads # Lets get each in a separate docker layer for better downloads
@ -34,6 +35,6 @@ RUN bash -c "source /opt/build.sh; GetNrfSdk;"
RUN bash -c "source /opt/build.sh; GetMcuBoot;" RUN bash -c "source /opt/build.sh; GetMcuBoot;"
# Link the default checkout workspace in to the default $SOURCES_DIR # Link the default checkout workspace in to the default $SOURCES_DIR
RUN ln -s /workspace/Pinetime /sources RUN ln -s /workspace/InfiniTime /sources
USER gitpod USER gitpod