-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2254 from AllenInstitute/bugfix/2254-nwb-export
Fix nwb_version so that dandi can read it
- Loading branch information
Showing
15 changed files
with
1,705 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM debian:bookworm | ||
MAINTAINER Thomas Braun [email protected] | ||
LABEL org.opencontainers.image.authors="Thomas Braun [email protected]" | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
FROM debian:bullseye | ||
FROM debian:bookworm | ||
LABEL org.opencontainers.image.authors="Thomas Braun [email protected]" | ||
|
||
RUN DEBIAN_FRONTEND=noninteractive \ | ||
apt-get update && \ | ||
apt-get install -y \ | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y \ | ||
ca-certificates \ | ||
lftp \ | ||
openssl && \ | ||
lftp \ | ||
openssl && \ | ||
apt-get clean | ||
|
||
ARG UNAME=ci | ||
ARG UID=1000 | ||
ARG GID=1000 | ||
ARG USERID=1000 | ||
ARG GROUPID=1000 | ||
|
||
RUN groupadd -g ${GID} -o ${UNAME} && \ | ||
useradd -m -u ${UID} -g ${GID} -o -s /bin/bash ${UNAME} | ||
RUN groupadd -g ${GROUPID} -o ${UNAME} && \ | ||
useradd -m -u ${USERID} -g ${GROUPID} -o -s /bin/bash ${UNAME} | ||
|
||
USER ${UNAME} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
FROM debian:bullseye | ||
MAINTAINER Thomas Braun [email protected] | ||
FROM debian:bookworm | ||
LABEL org.opencontainers.image.authors="Thomas Braun [email protected]" | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
|
@@ -10,15 +10,10 @@ RUN apt-get update && \ | |
python3-minimal \ | ||
python3-pip \ | ||
python3-setuptools \ | ||
python3-wheel && \ | ||
python3-venv \ | ||
&& \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
ARG PACKAGE_WITH_VERSION | ||
|
||
RUN pip3 install $PACKAGE_WITH_VERSION | ||
|
||
RUN pip3 check | ||
|
||
ARG USERID | ||
ARG GROUPID | ||
|
||
|
@@ -29,3 +24,13 @@ RUN useradd -u $USERID -g $GROUPID -ms /bin/bash ci | |
USER ci | ||
|
||
WORKDIR /home/ci | ||
|
||
COPY requirements.txt . | ||
|
||
# https://stackoverflow.com/a/75696359 | ||
RUN python -m venv --system-site-packages /home/ci/.venv && \ | ||
. /home/ci/.venv/bin/activate && \ | ||
pip3 install -r requirements.txt | ||
|
||
# https://stackoverflow.com/a/56286534 | ||
ENV PATH=/home/ci/.venv/bin:${PATH} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
pynwb==2.8.1 | ||
dandi==0.63.0 |
Oops, something went wrong.