Skip to content
Permalink
Browse files

Added 4.0. Updated 3.6. Deleted 3.2, 3.4 (#39)

  • Loading branch information...
ovk6 authored and wgrzelak committed Jun 10, 2019
1 parent b625452 commit 07a12c9d8e90c0616e92afacc9269017795c9e5e

This file was deleted.

@@ -19,7 +19,7 @@ RUN set -eux \
&& wget -q -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)" \
&& wget -q -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc" \
# download source code of mongodb
&& wget -O /usr/local/src/mongo-r3.6.8.tar.gz https://github.com/mongodb/mongo/archive/r3.6.8.tar.gz \
&& wget -O /usr/local/src/mongo-r3.6.12.tar.gz https://github.com/mongodb/mongo/archive/r3.6.12.tar.gz \
# copy source code
&& wget -q -O /usr/local/src/gosu.tar.gz "https://github.com/tianon/gosu/archive/$GOSU_VERSION.tar.gz" \
# extract gosu binary and check signature
@@ -70,7 +70,7 @@ RUN set -ex; \
apt-key list

ENV MONGO_MAJOR 3.6
ENV MONGO_VERSION 3.6.8
ENV MONGO_VERSION 3.6.12
ENV MONGO_PACKAGE mongodb-org

RUN export DEBIAN_RELASE=$(cat /etc/*-release | grep PRETTY_NAME | sed 's/.*(//;s/).*//') \
@@ -1,4 +1,4 @@
FROM gcr.io/google-appengine/debian8:latest
FROM gcr.io/google-appengine/debian9:latest

# add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added
RUN groupadd -r mongodb && useradd -r -g mongodb mongodb
@@ -19,7 +19,7 @@ RUN set -eux \
&& wget -q -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture)" \
&& wget -q -O /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$(dpkg --print-architecture).asc" \
# download source code of mongodb
&& wget -O /usr/local/src/mongo-r3.2.21.tar.gz https://github.com/mongodb/mongo/archive/r3.2.21.tar.gz \
&& wget -O /usr/local/src/mongo-r4.0.9.tar.gz https://github.com/mongodb/mongo/archive/r4.0.9.tar.gz \
# copy source code
&& wget -q -O /usr/local/src/gosu.tar.gz "https://github.com/tianon/gosu/archive/$GOSU_VERSION.tar.gz" \
# extract gosu binary and check signature
@@ -45,7 +45,7 @@ RUN set -eux \
&& gosu nobody true \
&& apt-get purge -y --auto-remove ca-certificates wget

ENV GPG_KEYS 42F3E95A2C4F08279C4960ADD68FA50FEA312927
ENV GPG_KEYS 9DA31620334BD75D9DCB49F368818C72E52529D4
RUN set -ex; \
export GNUPGHOME="$(mktemp -d)"; \
for key in $GPG_KEYS; do \
@@ -69,8 +69,8 @@ RUN set -ex; \
rm -r -f "$GNUPGHOME"; \
apt-key list

ENV MONGO_MAJOR 3.2
ENV MONGO_VERSION 3.2.21
ENV MONGO_MAJOR 4.0
ENV MONGO_VERSION 4.0.9
ENV MONGO_PACKAGE mongodb-org

RUN export DEBIAN_RELASE=$(cat /etc/*-release | grep PRETTY_NAME | sed 's/.*(//;s/).*//') \
File renamed without changes.
File renamed without changes.
@@ -15,22 +15,36 @@

_variables:
from9: &from9 gcr.io/google-appengine/debian9:latest
from8: &from8 gcr.io/google-appengine/debian8:latest
gosu: &gosu
version: '1.10'
gpg: B42F6819007F00F88E364FD4036A9C25BF357DD4
gpg32: &gpg32 42F3E95A2C4F08279C4960ADD68FA50FEA312927
gpg34: &gpg34 0C49F3730359A14518585931BC711F9BA15703C6
gpg36: &gpg36 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5
gpg40: &gpg40 9DA31620334BD75D9DCB49F368818C72E52529D4

versions:
- dir: '4/debian9/4.0'
repo: mongodb4
tags:
- '4.0.9-debian9'
- '4.0-debian9'
- '4.0.9'
- '4.0'
- '4'
- 'latest'
from: *from9
packages:
gosu: *gosu
mongodb:
gpg: *gpg40
major: '4.0'
version: '4.0.9'
- dir: '3/debian9/3.6'
repo: mongodb3
tags:
- '3.6.8-debian9'
- '3.6.12-debian9'
- '3.6-debian9'
- '3-debian9'
- '3.6.8'
- '3.6.12'
- '3.6'
- '3'
- 'latest'
@@ -40,35 +54,7 @@ versions:
mongodb:
gpg: *gpg36
major: '3.6'
version: '3.6.8'
- dir: '3/debian8/3.4'
repo: mongodb3
tags:
- '3.4.17-debian8'
- '3.4-debian8'
- '3.4.17'
- '3.4'
from: *from8
packages:
gosu: *gosu
mongodb:
gpg: *gpg34
major: '3.4'
version: '3.4.17'
- dir: '3/debian8/3.2'
repo: mongodb3
tags:
- '3.2.21-debian8'
- '3.2-debian8'
- '3.2.21'
- '3.2'
from: *from8
packages:
gosu: *gosu
mongodb:
gpg: *gpg32
major: '3.2'
version: '3.2.21'
version: '3.6.12'

cloudbuild:
enable_parallel: true

0 comments on commit 07a12c9

Please sign in to comment.
You can’t perform that action at this time.