Skip to content

tebako #632

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .bundle/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
BUNDLE_BUILD__FFI: "--disable-system-libffi"
BUNDLE_BUILD__NOKOGIRI: "--no-use-system-libraries"
BUNDLE_FORCE_RUBY_PLATFORM: "false"
16 changes: 16 additions & 0 deletions Dockerfile.alpine.bundle
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM ghcr.io/tamatebako/tebako-alpine-3.17:latest as builder

RUN apk add bash curl curl-dev ruby-dev build-base
RUN apk add ruby ruby-io-console ruby-irb \
ruby-json ruby-etc ruby-bigdecimal ruby-rdoc \
libffi-dev zlib-dev yaml-dev

WORKDIR /wd
COPY . /wd
RUN tebako press -D --entry-point=bashly --root /wd -R 3.4.1

FROM alpine:3.17

COPY --from=builder /wd/bashly /usr/local/bin/bashly

ENTRYPOINT ["/usr/local/bin/bashly"]
25 changes: 25 additions & 0 deletions Dockerfile.bundle
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
FROM ghcr.io/tamatebako/tebako-ubuntu-20.04:latest as builder

RUN apt-get update && apt-get install -y \
bash \
curl \
libcurl4-openssl-dev \
ruby-dev \
build-essential

RUN apt-get install -y \
ruby \
ruby-rdoc \
libffi-dev \
zlib1g-dev \
libyaml-dev

WORKDIR /wd
COPY . /wd
RUN tebako press -D --entry-point=bashly --root /wd -R 3.4.1

FROM ubuntu:20.04

COPY --from=builder /wd/bashly /usr/local/bin/bashly

ENTRYPOINT ["/usr/local/bin/bashly"]
Binary file added bashly
Binary file not shown.