luo 0.1.10 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Dockerfile +28 -2
  3. data/Gemfile.lock +1 -1
  4. data/lib/luo/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1830a5e907eb9c92fe84162093cc7c46fa7f1970b07c58b120114dba73499e47
4
- data.tar.gz: 609ec33cce3365b956494f1446983924a03c5341ed5be8d350575d3303a250a6
3
+ metadata.gz: 528a0e01226989292c4f0a2e3fba8d19ac4e2cbade3343c17edc08a313fd9705
4
+ data.tar.gz: f6adb4ae59e2eeaa25ef4eb7813f387c3dda59fe91649f8dcca7d00f3fbabd42
5
5
  SHA512:
6
- metadata.gz: ef9266fbe51fa277369abbe012e531cd07df5b6141af538fb4f934fc591821530440d2ff58bef00accd7e9827bfbc24858f503a616bd765e24a2aea31e9e7bda
7
- data.tar.gz: c2bf5ddf9f16d7640bd52c35f259fd86d4211f1a995890e3c2151cf2a097b8b54bb060be524b3d91bbd0d61fbf3cfe082366d2e6ad48b5c63d46a3a2aeceb0a4
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 dependencies
4
- RUN gem install luo
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- luo (0.1.9)
4
+ luo (0.1.11)
5
5
  dotenv (~> 2.8, >= 2.8.1)
6
6
  dry-cli (~> 1.0)
7
7
  dry-configurable (~> 1.0, >= 1.0.1)
data/lib/luo/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Luo
4
- VERSION = "0.1.10"
4
+ VERSION = "0.1.11"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - MJ