opswalrus 1.0.3 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b31832ac2c06fb96c6abac86dacccce0f4fa280d679f2f12573eb37044d49b93
4
- data.tar.gz: dc69618f8f83b0845f5e93a8e4699bcade24e37a3ce24fcecc49a427f2b471ff
3
+ metadata.gz: 727948ba554b3da5510261c8ddc8983a8113b7df7c30fb769a2291bc0af77195
4
+ data.tar.gz: 70a553c15a613d41300775b0f063cb2c34fcc9998d2f8d26d310a1c88fec3a17
5
5
  SHA512:
6
- metadata.gz: c107c7165daa8536b4831c7f84d34c662dcc86cad1da29334412460e2995adad5bb076f14ae48b90578e2c349ea55411e4f2794371d417e714bffb093dca4f3b
7
- data.tar.gz: d6e0983ef2d59ed545370dd670753436026244b0cc5c84dadb3745b188931839f5edd57425f65fa4a607324b4d1e17bd4e0431bb5bb2cbb825e8a95e1f9eca6c
6
+ metadata.gz: d1d4198f362160b5d0f1baba4fe0999f382b3cf1250cd8a608859901e55bb8f307673761c6699f60c81a70814d8eec3a67b66de241e94f95856dbdf69f703dc2
7
+ data.tar.gz: 3fd8074d05b9c50976ef81a700fe95217046e7e7ced70799e6f65eac46b5d61f14f1ee267191e64264663a4d11bb3b61d202d4eab32c80e08e92b0d9769ca7ff
data/Dockerfile ADDED
@@ -0,0 +1,43 @@
1
+ # This is modelled after https://github.com/mrsked/mrsk/blob/main/Dockerfile
2
+
3
+ # Use the official Ruby 3.2.0 Alpine image as the base image
4
+ FROM ruby:3.2.0-alpine
5
+
6
+ # Install docker/buildx-bin
7
+ COPY --from=docker/buildx-bin /buildx /usr/libexec/docker/cli-plugins/docker-buildx
8
+
9
+ # Set the working directory to /opswalrus
10
+ WORKDIR /opswalrus
11
+
12
+ # Copy the Gemfile, Gemfile.lock into the container
13
+ COPY Gemfile Gemfile.lock opswalrus.gemspec ./
14
+
15
+ # Required in opswalrus.gemspec
16
+ COPY lib/opswalrus/version.rb /opswalrus/lib/opswalrus/version.rb
17
+
18
+ # Install system dependencies
19
+ RUN apk add --no-cache --update build-base git docker openrc openssh-client-default \
20
+ && rc-update add docker boot \
21
+ && gem install bundler --version=2.4.3 \
22
+ && bundle install
23
+
24
+ # Copy the rest of our application code into the container.
25
+ # We do this after bundle install, to avoid having to run bundle
26
+ # every time we do small fixes in the source code.
27
+ COPY . .
28
+
29
+ # Install the gem locally from the project folder
30
+ RUN gem build opswalrus.gemspec && \
31
+ gem install ./opswalrus-*.gem --no-document
32
+
33
+ # Set the working directory to /workdir
34
+ WORKDIR /workdir
35
+
36
+ # Tell git it's safe to access /workdir/.git even if
37
+ # the directory is owned by a different user
38
+ RUN git config --global --add safe.directory /workdir
39
+
40
+ # Set the entrypoint to run the installed binary in /workdir
41
+ # Example: docker run -it -v "$PWD:/workdir" ops
42
+ # ENTRYPOINT ["ops"]
43
+ CMD ["ops"]
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- opswalrus (1.0.3)
4
+ opswalrus (1.0.4)
5
5
  bcrypt_pbkdf
6
6
  citrus
7
7
  ed25519