luo 0.1.10 → 0.1.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Dockerfile +28 -2
- data/Gemfile.lock +1 -1
- data/lib/luo/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77a0bf646d6a4228c12569c3256d35aece77795d605c131ae9c64297876ecb20
|
4
|
+
data.tar.gz: 5f505d4172a8e8bfb5622e6a2f62b4623159aa2c84d1f9dbb6a62f4f83a658a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48c09a778e4264b0990e3b8f385c8668734ea407bb05ed5a00d8eb4d054d3070330f0d42f0a549dde3c7a801436257758f7bb60a67ed627560612b7ab9ad325a
|
7
|
+
data.tar.gz: bc11220737dea1d27fcd135146bfd04e53bedc1617607253cf65c8de5abf9a9736f707126316106c46880cd46f996ee3cf21cc36e2caf31e5be2809fc48b891e
|
data/Dockerfile
CHANGED
@@ -1,7 +1,33 @@
|
|
1
1
|
FROM ruby:3.2.2-alpine
|
2
2
|
|
3
|
-
# Install
|
4
|
-
|
3
|
+
# Install docker/buildx-bin
|
4
|
+
COPY --from=docker/buildx-bin /buildx /usr/libexec/docker/cli-plugins/docker-buildx
|
5
|
+
|
6
|
+
# Set the working directory to /luo
|
7
|
+
WORKDIR /luo
|
8
|
+
|
9
|
+
# Copy the Gemfile, Gemfile.lock into the container
|
10
|
+
COPY Gemfile Gemfile.lock luo.gemspec ./
|
11
|
+
|
12
|
+
# Required in luo.gemspec
|
13
|
+
COPY lib/luo/version.rb /luo/lib/luo/version.rb
|
14
|
+
|
15
|
+
# Install system dependencies
|
16
|
+
RUN apk add --no-cache --update build-base git docker openrc openssh-client-default \
|
17
|
+
&& rc-update add docker boot \
|
18
|
+
&& gem install bundler --version=2.4.3 \
|
19
|
+
&& bundle install
|
20
|
+
|
21
|
+
# Copy the rest of our application code into the container.
|
22
|
+
# We do this after bundle install, to avoid having to run bundle
|
23
|
+
# everytime we do small fixes in the source code.
|
24
|
+
COPY . .
|
25
|
+
|
26
|
+
# Install the gem locally from the project folder
|
27
|
+
RUN gem build luo.gemspec && \
|
28
|
+
gem install ./luo-*.gem --no-document
|
29
|
+
|
30
|
+
RUN git config --global --add safe.directory /workdir
|
5
31
|
|
6
32
|
WORKDIR /workdir
|
7
33
|
|
data/Gemfile.lock
CHANGED
data/lib/luo/version.rb
CHANGED