Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
45 lines (32 loc) · 1.23 KB

File metadata and controls

45 lines (32 loc) · 1.23 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Use Ubuntu 22.04 LTS as the base image
FROM ubuntu:22.04
# Avoid prompts from apt-get
ARG DEBIAN_FRONTEND=noninteractive
# Update the package list
RUN apt-get update -y
# Install Python 3.10
RUN apt-get install -y python3.10 python3-distutils python3-pip
# Install additional dependencies
RUN apt-get install -y cmake git libpugixml1v5 wget
# Install pip for Python 3.10
RUN wget https://bootstrap.pypa.io/get-pip.py && \
python3.10 get-pip.py && \
rm get-pip.py
# Clone the pybci repository
RUN git clone https://github.com/LMBooth/pybci.git /pybci
# Set the working directory
WORKDIR /pybci
# Install Python dependencies
RUN python3.10 -m pip install --upgrade urllib3>=2.0.5
RUN python3.10 -m pip install . pytest pytest-timeout ruff
# Download and install liblsl
RUN wget https://github.com/sccn/liblsl/releases/download/v1.16.2/liblsl-1.16.2-jammy_amd64.deb -O liblsl.deb && \
dpkg -i liblsl.deb && \
rm liblsl.deb
# Copy liblsl.so to the target directory
RUN mkdir -p /usr/local/lib/python3.10/site-packages/pylsl/lib && \
cp /usr/lib/liblsl.so /usr/local/lib/python3.10/site-packages/pylsl/lib/
# Expose the necessary port (change if needed)
EXPOSE 8080
# Command to run when starting the container
CMD ["/bin/bash"]
Morty Proxy This is a proxified and sanitized view of the page, visit original site.