Skip to content

Commit 4f53eb1

Browse files
committed
add local benchmark tests
1 parent e6fae4f commit 4f53eb1

128 files changed

Lines changed: 17362 additions & 1278 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

cli/docker/Dockerfile-local

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
1-
FROM ruby:2.7.8-alpine
2-
MAINTAINER "Christoph Fabianek" christoph@ownyourdata.eu
1+
FROM ruby:3.2.8-alpine
2+
LABEL org.opencontainers.image.authors="Christoph Fabianek <christoph@ownyourdata.eu>"
33

44
RUN addgroup -S user && \
55
adduser -S user -G user && \
6-
apk add --no-cache libsodium-dev git make gcc musl-dev jq bash curl gdbm gdbm-dev && \
7-
gem install httparty ed25519 multibases multihashes multicodecs optparse rbnacl dag uri json-canonicalization oydid && \
8-
gem install securerandom -v 0.1.1 && \
9-
apk add --update --no-cache python3 && \
6+
apk add --no-cache libsodium-dev openssl openssl-dev git make gcc musl-dev jq bash curl gdbm gdbm-dev enscript ghostscript && \
7+
gem install httparty ed25519 multibases multihashes multicodecs optparse rbnacl dag uri json-canonicalization openssl oydid securerandom && \
8+
apk add --update --no-cache python3 pipx py3-setuptools py3-pytest py3-requests && \
109
ln -sf python3 /usr/bin/python && \
11-
python3 -m ensurepip && \
12-
pip3 install --no-cache --upgrade pip setuptools pytest requests pytest-subprocess
10+
apk add --no-cache py3-pytest-subprocess --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing
1311
COPY oydid.rb /usr/local/bin/oydid
1412
COPY ./docker/start.sh /usr/local/bin/start.sh
1513
COPY docker/local-gem/*.gem /tmp/
@@ -24,6 +22,7 @@ RUN chmod 755 /usr/local/bin/oydid && \
2422
mkdir -p /usr/src/pytest
2523
COPY --chown=user:user pytest /usr/src/pytest
2624
COPY Rakefile /usr/src/pytest
25+
2726
USER user
2827
WORKDIR /home/user
2928

cli/docker/Dockerfile-local.arm64v8

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ RUN chmod 755 /usr/local/bin/oydid && \
2424
mkdir -p /usr/src/pytest
2525
COPY --chown=user:user pytest /usr/src/pytest
2626
COPY Rakefile /usr/src/pytest
27+
2728
USER user
2829
WORKDIR /home/user
2930

-44.5 KB
Binary file not shown.
52.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)