founders_template 0.3.3 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile-rails6.lock +1 -1
- data/bash/ci/build_image.sh +1 -0
- data/lib/founders_template/version.rb +1 -1
- data/templates/Dockerfile.erb +3 -0
- 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: a919a0eb38c654527d6981d6d5bd895d07227ec14c1b0099547bf1c82f660133
|
4
|
+
data.tar.gz: 173331190547c2bfe53ec516e9af2a393ce970bd370fa56dc571ca517e90ca4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 786386d96051c50f0150cf7aa6eb17449f571d649cf2c0f7d7a26231bd4630c8b30df0785fe11f4fcc68137ac21a34a875fcc9b501bec9737d709a041b9ae9f1
|
7
|
+
data.tar.gz: 2f76a16a4b39af3fc01ce1ce3756c775d7ad508a7293ec7e32d92343ccca6275967ab876053032f2084c7e90bf7dca8e643d1add23e290b8abded31e61657911
|
data/Gemfile-rails6.lock
CHANGED
data/bash/ci/build_image.sh
CHANGED
@@ -14,6 +14,7 @@ fi
|
|
14
14
|
echo "Building the $TARGET Docker image... using cache: $CACHE_IMAGE"
|
15
15
|
exec docker build \
|
16
16
|
$CACHE_IMAGE \
|
17
|
+
--build-arg GIT_COMMIT_SHA=$GIT_COMMIT_SHA \
|
17
18
|
--build-arg RAILS_ENV=$RAILS_ENV \
|
18
19
|
--build-arg DATABASE_URL=$DATABASE_URL \
|
19
20
|
--build-arg REDIS_URL=$REDIS_URL \
|
data/templates/Dockerfile.erb
CHANGED
@@ -49,6 +49,9 @@ FROM builder as app
|
|
49
49
|
|
50
50
|
ENV RAILS_LOG_TO_STDOUT=1
|
51
51
|
|
52
|
+
ARG GIT_COMMIT_SHA=""
|
53
|
+
ENV GIT_COMMIT_SHA=$GIT_COMMIT_SHA
|
54
|
+
|
52
55
|
ARG RAILS_MASTER_KEY
|
53
56
|
RUN if [ ! -z "$RAILS_MASTER_KEY" ] ; then echo "$RAILS_MASTER_KEY" > config/credentials/$RAILS_ENV.key ; fi
|
54
57
|
|