Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions docker_images/c/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,11 @@ RUN git clone https://github.com/Corvusoft/restbed . \
&& rm -r dependency/asio/asio/src/tests \
&& rm -r dependency/asio/asio/src/examples

RUN pip install --upgrade pip

WORKDIR /system_control_app
COPY ./system_control_app .
RUN pip install -r requirements.txt
EXPOSE 8040

# force container rebuild when switching from master to main
RUN echo "switch to main" > /horton_tag.txt

ARG HORTON_REPO
WORKDIR /sdk
RUN git clone https://github.com/$HORTON_REPO .
Expand Down
9 changes: 3 additions & 6 deletions docker_images/node/Dockerfile.node16
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ RUN update-alternatives --install /usr/bin/python python $(which python3) 50 \

RUN npm install lerna -g

RUN pip install --upgrade pip

RUN git config --global user.email "[email protected]" \
&& git config --global user.name "Your Name" \
&& git config --global core.autocrlf true
Expand All @@ -25,10 +23,9 @@ EXPOSE 8080

WORKDIR /system_control_app
COPY ./system_control_app .
RUN pip install -r requirements.txt

# force container rebuild when switching from master to main
RUN echo "switch to main" > /horton_tag.txt
# --break-system-packages is necessary because we're installing the system control app into the global package store instead of using pipx or virtualenv
# We're not actually breaking anything. The option name just means that we _could_ break system packages if we weren't careful, but we are being careful.
RUN pip install -r requirements.txt --break-system-packages

# phase 1: grab the base branch and run prebuild
ARG HORTON_REPO
Expand Down
9 changes: 3 additions & 6 deletions docker_images/node/Dockerfile.node18
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ RUN update-alternatives --install /usr/bin/python python $(which python3) 50 \

RUN npm install lerna -g

RUN pip install --upgrade pip

RUN git config --global user.email "[email protected]" \
&& git config --global user.name "Your Name" \
&& git config --global core.autocrlf true
Expand All @@ -25,10 +23,9 @@ EXPOSE 8080

WORKDIR /system_control_app
COPY ./system_control_app .
RUN pip install -r requirements.txt

# force container rebuild when switching from master to main
RUN echo "switch to main" > /horton_tag.txt
# --break-system-packages is necessary because we're installing the system control app into the global package store instead of using pipx or virtualenv
# We're not actually breaking anything. The option name just means that we _could_ break system packages if we weren't careful, but we are being careful.
RUN pip install -r requirements.txt --break-system-packages

# phase 1: grab the base branch and run prebuild
ARG HORTON_REPO
Expand Down
1 change: 1 addition & 0 deletions vsts/gate-horton.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
vmImage: 'ubuntu-20.04'
strategy:
matrix:
node16: { variant: node16 }
node18: { variant: node18 }
c: { language: c }
java: { language: java }
Expand Down