Commit 274b2d59 authored by Martin Zurowietz's avatar Martin Zurowietz
Browse files

Initial commit

parents
#FROM python:alpine
FROM python@sha256:97725c6081f5670080322188827ef5cd95325b8c69e401047f0fa0c21910042d
LABEL org.opencontainers.image.authors="Martin Zurowietz <martin@cebitec.uni-bielefeld.de>"
RUN apk add --no-cache --virtual .build-deps \
build-base \
linux-headers \
cmake \
cargo \
&& apk add \
rust \
apache-arrow \
&& MAKEFLAGS="-j$(nproc)" pip install --no-cache-dir apscale \
&& apk del --purge .build-deps
ARG VSEARCH_VERSION="2.21.1"
RUN apk add --no-cache --virtual .build-deps \
build-base \
zlib-dev \
bzip2-dev \
curl \
autoconf \
automake \
&& apk add \
zlib \
bzip2 \
&& cd /tmp \
&& curl -LO https://github.com/torognes/vsearch/archive/v$VSEARCH_VERSION.tar.gz \
&& tar xzf v$VSEARCH_VERSION.tar.gz \
&& cd vsearch-$VSEARCH_VERSION \
&& ./autogen.sh \
&& ./configure CFLAGS="-O3" CXXFLAGS="-O3" \
&& make -j $(nproc) \
&& make install \
&& cd / \
&& rm -rf /tmp/vsearch-* \
&& apk del --purge .build-deps
RUN mkdir /workspace
WORKDIR /workspace
CMD apscale
# apscale-docker
[apscale](https://github.com/DominikBuchner/apscale) in a Docker container.
## Build
Clone this repository and run: `docker build -t apscale .`
## Run
Create a new project called "NAME":
```
docker run --rm -v $PWD:/workspace apscale --create_project NAME
```
Run analysis on the current project (you must be inside the project directory):
```
docker run --rm -v $PWD:/workspace apscale --run_apscale
```
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment