-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: adapt remaining algorithms with * fix(pcc): include manifest in Docker image
- Loading branch information
Sebastian Schmidl
authored
Dec 22, 2023
1 parent
d9b74b0
commit 492b818
Showing
54 changed files
with
132 additions
and
86 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,4 +1,4 @@ | ||
FROM ghcr.io/timeeval/python2-base:0.3.0 as build | ||
FROM ghcr.io/timeeval/python2-base:0.3.0 | ||
|
||
LABEL maintainer="[email protected]" | ||
LABEL org.opencontainers.image.licenses="GPL-3.0" | ||
|
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,12 +1,14 @@ | ||
FROM registry.gitlab.hpi.de/akita/i/python3-torch:0.2.5 | ||
FROM ghcr.io/timeeval/python3-torch:0.3.0 | ||
|
||
LABEL maintainer="[email protected]" | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
ENV ALGORITHM_MAIN="/app/algorithm.py" | ||
|
||
# install algorithm dependencies | ||
COPY requirements.txt /app/ | ||
RUN pip install -r /app/requirements.txt | ||
|
||
COPY algorithm.py /app/ | ||
COPY ocean_wnn /app/ocean_wnn | ||
COPY manifest.json /app/ | ||
COPY algorithm.py /app/ |
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,6 +1,7 @@ | ||
FROM registry.gitlab.hpi.de/akita/i/python36-base:0.2.5 | ||
FROM ghcr.io/timeeval/python36-base:0.3.0 | ||
|
||
LABEL maintainer="[email protected]" | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
ENV ALGORITHM_MAIN="/app/algorithm.py" | ||
|
||
|
@@ -12,4 +13,5 @@ COPY requirements.txt /app/ | |
RUN pip install -r /app/requirements.txt | ||
|
||
COPY omni_anomaly /app/omni_anomaly | ||
COPY manifest.json /app/ | ||
COPY algorithm.py /app/ |
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,12 +1,13 @@ | ||
FROM registry.gitlab.hpi.de/akita/i/pyod:0.2.5 | ||
FROM ghcr.io/timeeval/pyod:0.3.0 | ||
|
||
LABEL maintainer="[email protected]" | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
ENV ALGORITHM_MAIN="/app/algorithm.py" | ||
|
||
|
||
# install algorithm dependencies | ||
COPY requirements.txt . | ||
RUN pip install -r ./requirements.txt | ||
COPY requirements.txt /app/ | ||
RUN pip install -r /app/requirements.txt | ||
|
||
COPY algorithm.py . | ||
COPY manifest.json /app/ | ||
COPY algorithm.py /app/ |
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,6 +1,7 @@ | ||
FROM registry.gitlab.hpi.de/akita/i/python3-base:0.2.5 | ||
FROM ghcr.io/timeeval/python3-base:0.3.0 | ||
|
||
LABEL maintainer="[email protected]" | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
ENV ALGORITHM_MAIN="/app/algorithm.py" | ||
|
||
|
@@ -9,4 +10,5 @@ COPY requirements.txt /app/ | |
RUN pip install -r /app/requirements.txt | ||
|
||
COPY pci /app/pci | ||
COPY manifest.json /app/ | ||
COPY algorithm.py /app/ |
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,12 +1,14 @@ | ||
FROM registry.gitlab.hpi.de/akita/i/python3-base:0.2.5 | ||
FROM ghcr.io/timeeval/python3-base:0.3.0 | ||
|
||
LABEL maintainer="[email protected]" | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
ENV ALGORITHM_MAIN="/app/algorithm.py" | ||
|
||
# install algorithm dependencies | ||
COPY requirements.txt ./ | ||
RUN pip install -r ./requirements.txt | ||
COPY requirements.txt /app/ | ||
RUN pip install -r /app/requirements.txt | ||
|
||
COPY phasespace.py . | ||
COPY algorithm.py . | ||
COPY phasespace.py /app/ | ||
COPY manifest.json /app/ | ||
COPY algorithm.py /app/ |
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,7 +1,7 @@ | ||
FROM ghcr.io/timeeval/r4-base:0.3.2 | ||
|
||
LABEL maintainer="[email protected]" | ||
LABEL org.opencontainers.image.licenses=MIT | ||
LABEL org.opencontainers.image.licenses="GPL-3.0" | ||
|
||
# install R-install requirements | ||
RUN set -eux; \ | ||
|
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,12 +1,13 @@ | ||
FROM registry.gitlab.hpi.de/akita/i/python3-base:0.2.5 | ||
FROM ghcr.io/timeeval/python3-base:0.3.0 | ||
|
||
LABEL maintainer="[email protected]" | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
ENV ALGORITHM_MAIN="/app/algorithm.py" | ||
|
||
COPY ./requirements.txt . | ||
RUN pip install -r requirements.txt | ||
COPY requirements.txt /app/ | ||
RUN pip install -r /app/requirements.txt | ||
|
||
COPY ./algorithm.py . | ||
COPY ./model.py . | ||
COPY ./manifest.json . | ||
COPY model.py /app/ | ||
COPY manifest.json /app/ | ||
COPY algorithm.py /app/ |
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,6 +1,7 @@ | ||
FROM registry.gitlab.hpi.de/akita/i/python3-base:0.2.5 | ||
FROM ghcr.io/timeeval/python3-base:0.3.0 | ||
|
||
LABEL maintainer="[email protected]" | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
ENV ALGORITHM_MAIN="/app/algorithm.py" | ||
|
||
|
@@ -9,4 +10,5 @@ COPY requirements.txt /app/ | |
RUN pip install -r /app/requirements.txt | ||
|
||
COPY robust_pca /app/robust_pca | ||
COPY manifest.json /app/ | ||
COPY algorithm.py /app/ |
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,10 +1,11 @@ | ||
FROM registry.gitlab.hpi.de/akita/i/python3-base:0.2.5 | ||
FROM ghcr.io/timeeval/python3-base:0.3.0 | ||
|
||
LABEL maintainer="[email protected]" | ||
LABEL org.opencontainers.image.licenses="GPL-3.0" | ||
|
||
ENV ALGORITHM_MAIN="/app/algorithm.py" | ||
|
||
COPY requirements.txt . | ||
RUN pip install -r requirements.txt | ||
COPY requirements.txt /app/ | ||
RUN pip install -r /app/requirements.txt | ||
|
||
COPY . /app/ |
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
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,12 +1,13 @@ | ||
FROM registry.gitlab.hpi.de/akita/i/python3-base:0.2.5 | ||
FROM ghcr.io/timeeval/python3-base:0.3.0 | ||
|
||
LABEL maintainer="[email protected]" | ||
# custom license has no abbreviation | ||
|
||
ENV ALGORITHM_MAIN="/app/algorithm.py" | ||
|
||
COPY requirements.txt . | ||
COPY requirements.txt /app/ | ||
RUN set -eux; \ | ||
pip install --no-cache-dir -r requirements.txt; \ | ||
pip install --no-cache-dir -r /app/requirements.txt; \ | ||
find /usr/local -depth \ | ||
\( \ | ||
\( -type d -a \( -name test -o -name tests -o -name idle_test \) \) \ | ||
|
@@ -15,5 +16,7 @@ RUN set -eux; \ | |
\) -exec rm -rf '{}' +; \ | ||
rm -rf /tmp/* /var/tmp/* ~/.cache/pip | ||
|
||
COPY sarima.py . | ||
COPY algorithm.py . | ||
COPY sarima.py /app/ | ||
COPY LICENSE /app/ | ||
COPY manifest.json /app/ | ||
COPY algorithm.py /app/ |
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
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,4 +1,4 @@ | ||
FROM registry.gitlab.hpi.de/akita/i/python3-base:0.2.5 as build | ||
FROM ghcr.io/timeeval/python3-base:0.3.0 as build | ||
|
||
COPY anomalydetector /app/anomalydetector | ||
|
||
|
@@ -11,11 +11,13 @@ RUN set -eux; \ | |
RUN pip install Cython | ||
RUN cd /app/anomalydetector/; python setup.py install | ||
|
||
FROM registry.gitlab.hpi.de/akita/i/python3-base:0.2.5 as eval | ||
FROM ghcr.io/timeeval/python3-base:0.3.0 as eval | ||
|
||
LABEL maintainer="[email protected]" | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
ENV ALGORITHM_MAIN="/app/algorithm.py" | ||
|
||
COPY --from=build /usr/local/lib/python3.7/site-packages /usr/local/lib/python3.7/site-packages | ||
COPY manifest.json /app/ | ||
COPY algorithm.py /app/ |
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,4 +1,4 @@ | ||
FROM registry.gitlab.hpi.de/akita/i/python3-torch:0.2.5 as build | ||
FROM ghcr.io/timeeval/python3-base:0.3.0 as build | ||
|
||
COPY anomalydetector /app/anomalydetector | ||
|
||
|
@@ -7,12 +7,14 @@ RUN apt-get install build-essential -y | |
RUN pip install --no-cache-dir Cython tqdm torchvision==0.8.2 | ||
RUN cd /app/anomalydetector/; python setup.py install | ||
|
||
FROM registry.gitlab.hpi.de/akita/i/python3-torch:0.2.5 as eval | ||
FROM ghcr.io/timeeval/python3-base:0.3.0 as eval | ||
|
||
LABEL maintainer="[email protected]" | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
ENV ALGORITHM_MAIN="/app/algorithm.py" | ||
|
||
COPY --from=build /usr/local/lib/python3.7/site-packages /usr/local/lib/python3.7/site-packages | ||
COPY srcnn /app/srcnn | ||
COPY manifest.json /app/ | ||
COPY algorithm.py /app/ |
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,6 +1,7 @@ | ||
FROM registry.gitlab.hpi.de/akita/i/tsmp:0.2.5 | ||
FROM ghcr.io/timeeval/tsmp:0.3.0 | ||
|
||
LABEL maintainer="[email protected]" | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
ENV ALGORITHM_MAIN="/app/algorithm.r" | ||
|
||
|
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,6 +1,7 @@ | ||
FROM registry.gitlab.hpi.de/akita/i/tsmp:0.2.5 | ||
FROM ghcr.io/timeeval/tsmp:0.3.0 | ||
|
||
LABEL maintainer="[email protected]" | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
ENV ALGORITHM_MAIN="/app/algorithm.r" | ||
|
||
|
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
Oops, something went wrong.