Sha256: f68fdef52539afd0df0f48b87dd0974f97454915a1b841f8faab1845dea5c138

Contents?: true

Size: 537 Bytes

Versions: 11

Compression:

Stored size: 537 Bytes

Contents

#!/bin/bash

set -euo pipefail

cd "$(dirname "$0")"

WORK_DIR="/opt/fluent-plugin-formatter-protobuf/"
GEMSPEC_CACHE_DIR="/root/.local/share/gem/specs"
GEM_PATHS="/root/.local/share/gem/ruby/3.0.0"
INSTALLATION_DIR="/usr/local/bundle"
PROJECT_CACHE="${PWD}/cache/"

docker run \
  -it \
  --rm \
  -v "${PWD}:${WORK_DIR}" \
  -v "${PROJECT_CACHE}/gem/specs:${GEMSPEC_CACHE_DIR}" \
  -v "${PROJECT_CACHE}/gem/ruby/3.0.0/:${GEM_PATHS}" \
  -v "${PROJECT_CACHE}/bundle/:${INSTALLATION_DIR}" \
  --workdir "${WORK_DIR}" \
  ruby:3.0.2 "$@"

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
fluent-plugin-formatter-protobuf-0.5.0 docker-run.sh
fluent-plugin-formatter-protobuf-0.4.0 docker-run.sh
fluent-plugin-formatter-protobuf-0.3.0 docker-run.sh
fluent-plugin-formatter-protobuf-0.2.0 docker-run.sh
fluent-plugin-formatter-protobuf-0.1.1 docker-run.sh
fluent-plugin-formatter-protobuf-0.1.0 docker-run.sh
fluent-plugin-formatter-protobuf-0.0.5 docker-run.sh
fluent-plugin-formatter-protobuf-0.0.4 docker-run.sh
fluent-plugin-formatter-protobuf-0.0.3 docker-run.sh
fluent-plugin-formatter-protobuf-0.0.2 docker-run.sh
fluent-plugin-formatter-protobuf-0.0.1 docker-run.sh