luo 0.1.10 → 0.1.11
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: 528a0e01226989292c4f0a2e3fba8d19ac4e2cbade3343c17edc08a313fd9705
|
4
|
+
data.tar.gz: f6adb4ae59e2eeaa25ef4eb7813f387c3dda59fe91649f8dcca7d00f3fbabd42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4f92af574fae3ac6fef612dc6707bfb6bb1f95aeb62599071da2cd3064b65c2084162a2223bf0347d9e5500951c63ed7237dcd34f207f9c1a25357bc9a2b713
|
7
|
+
data.tar.gz: 383f9c1769b14016f3ed696d5074524ff13bcb8ed4db223929323e4fa1a0e6a2befabb8ae3f5796ae147092bb8441fd3d42d4f605c9915e58338870be3ff5b63
|
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