68107d3ea8
This commit duplicates the telemetry logic in the actions/deploy-pages action. This Gemfile already pulls in Faraday as a dependency of octokit; the change to Gemfile just makes its use explicit. There aren't any changes when you compare the resulting Gemfile.lock.
27 lines
486 B
Docker
27 lines
486 B
Docker
ARG RUBY_VERSION=2.7.4
|
|
FROM ruby:$RUBY_VERSION-slim
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y \
|
|
build-essential \
|
|
git \
|
|
locales \
|
|
nodejs
|
|
|
|
COPY Gemfile Gemfile
|
|
|
|
RUN NOKOGIRI_USE_SYSTEM_LIBRARIES=true bundle install
|
|
|
|
RUN \
|
|
echo "en_US UTF-8" > /etc/locale.gen && \
|
|
locale-gen en-US.UTF-8
|
|
ENV LANG en_US.UTF-8
|
|
ENV LANGUAGE en_US.UTF-8
|
|
ENV LC_ALL en_US.UTF-8
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
COPY bin/emit_telemetry /emit_telemetry
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
|