Skip to content

Commit 6192511

Browse files
committed
Switch 3.3 to debian:jessie
``` Step 10 : RUN set -x && apt-get update && apt-get install -y mongodb-org-unstable=$MONGO_VERSION mongodb-org-unstable-server=$MONGO_VERSION mongodb-org-unstable-shell=$MONGO_VERSION mongodb-org-unstable-mongos=$MONGO_VERSION mongodb-org-unstable-tools=$MONGO_VERSION && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig ---> Running in 3426ec82da14 + apt-get update Get:1 http://security.debian.org wheezy/updates Release.gpg [1554 B] Get:2 http://security.debian.org wheezy/updates Release [39.0 kB] Get:3 http://security.debian.org wheezy/updates/main amd64 Packages [467 kB] Get:4 http://repo.mongodb.org wheezy/mongodb-org/3.3 Release.gpg [801 B] Get:5 http://httpredir.debian.org wheezy Release.gpg [2373 B] Get:6 http://repo.mongodb.org wheezy/mongodb-org/3.3 Release [2940 B] Get:7 http://httpredir.debian.org wheezy-updates Release.gpg [1554 B] Get:8 http://httpredir.debian.org wheezy Release [191 kB] Get:9 http://repo.mongodb.org wheezy/mongodb-org/3.3/main amd64 Packages [7295 B] Get:10 http://httpredir.debian.org wheezy-updates Release [151 kB] Get:11 http://httpredir.debian.org wheezy/main amd64 Packages [7634 kB] Get:12 http://httpredir.debian.org wheezy-updates/main amd64 Packages [7481 B] Fetched 8506 kB in 1s (5344 kB/s) Reading package lists... + apt-get install -y mongodb-org-unstable=3.3.8 mongodb-org-unstable-server=3.3.8 mongodb-org-unstable-shell=3.3.8 mongodb-org-unstable-mongos=3.3.8 mongodb-org-unstable-tools=3.3.8 Reading package lists... Building dependency tree... Reading state information... Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: mongodb-org-unstable-mongos : Depends: libc6 (>= 2.14) but 2.13-38+deb7u10 is to be installed mongodb-org-unstable-server : Depends: libc6 (>= 2.14) but 2.13-38+deb7u10 is to be installed mongodb-org-unstable-shell : Depends: libc6 (>= 2.14) but 2.13-38+deb7u10 is to be installed mongodb-org-unstable-tools : Depends: libc6 (>= 2.14) but 2.13-38+deb7u10 is to be installed E: Unable to correct problems, you have held broken packages. The command '/bin/sh -c set -x && apt-get update && apt-get install -y mongodb-org-unstable=$MONGO_VERSION mongodb-org-unstable-server=$MONGO_VERSION mongodb-org-unstable-shell=$MONGO_VERSION mongodb-org-unstable-mongos=$MONGO_VERSION mongodb-org-unstable-tools=$MONGO_VERSION && rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/mongodb && mv /etc/mongod.conf /etc/mongod.conf.orig' returned a non-zero code: 100 ```
1 parent 9c01784 commit 6192511

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

3.3/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM debian:wheezy
1+
FROM debian:jessie
22

33
# add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added
44
RUN groupadd -r mongodb && useradd -r -g mongodb mongodb
@@ -30,7 +30,7 @@ RUN apt-key adv --keyserver ha.pool.sks-keyservers.net --recv-keys 0C49F3730359A
3030
ENV MONGO_MAJOR 3.3
3131
ENV MONGO_VERSION 3.3.8
3232

33-
RUN echo "deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/$MONGO_MAJOR main" > /etc/apt/sources.list.d/mongodb-org.list
33+
RUN echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/$MONGO_MAJOR main" > /etc/apt/sources.list.d/mongodb-org.list
3434

3535
RUN set -x \
3636
&& apt-get update \

0 commit comments

Comments
 (0)