Skip to content
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

Fixes 'bundler gem' tebako build bug #41

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
5 changes: 5 additions & 0 deletions alpine-3.17.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ RUN apk --no-cache --upgrade add build-base cmake git bash sudo \
ENV CC=clang
ENV CXX=clang++

# This is needed to deal with gems created by `bundler gem` that are
# being packaged by `tebako press` inside of a container. More at
# https://github.com/tamatebako/tebako-ci-containers/issues/40.
RUN git config --global --add safe.directory '*'

# https://github.com/actions/checkout/issues/1014
# RUN adduser --disabled-password --gecos "" --home $HOME tebako && \
# printf "\ntebako\tALL=(ALL)\tNOPASSWD:\tALL" > /etc/sudoers.d/tebako
Expand Down
5 changes: 5 additions & 0 deletions ubuntu-20.04.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ RUN apt-get -y update && \
ENV CC=clang-12
ENV CXX=clang++-12

# This is needed to deal with gems created by `bundler gem` that are
# being packaged by `tebako press` inside of a container. More at
# https://github.com/tamatebako/tebako-ci-containers/issues/40
RUN git config --global --add safe.directory '*'

COPY tools /opt/tools

RUN /opt/tools/tools.sh install_cmake && \
Expand Down