Skip to content

Commit 90b2e3b

Browse files
kevmoomkustermann
authored andcommitted
Use hosted memcache (#338)
1 parent 7181b52 commit 90b2e3b

File tree

3 files changed

+6
-13
lines changed

3 files changed

+6
-13
lines changed

Dockerfile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
FROM google/dart-runtime-base:1.25.0-dev.9.0
22

3-
# We install memcached and remove the apt-index again to keep the
4-
# docker image diff small.
5-
RUN apt-get update && \
6-
apt-get upgrade -y && \
7-
apt-get install -y git memcached unzip && \
8-
rm -rf /var/lib/apt/lists/*
9-
103
# Let the pub server know that this is not a "typical" pub client but rather a bot.
114
ENV PUB_ENVIRONMENT="bot.pub_dartlang_org.docker"
125

@@ -26,4 +19,4 @@ RUN pub get --offline
2619
# Clear out any arguments the base images might have set and ensure we start
2720
# memcached and wait for it to come up before running the Dart app.
2821
CMD []
29-
ENTRYPOINT service memcached start && sleep 1 && /bin/bash /dart_runtime/dart_run.sh
22+
ENTRYPOINT /bin/bash /dart_runtime/dart_run.sh

app/pubspec.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ packages:
1818
name: appengine
1919
url: "https://pub.dartlang.org"
2020
source: hosted
21-
version: "0.4.1"
21+
version: "0.4.2"
2222
archive:
2323
description:
2424
name: archive
@@ -240,7 +240,7 @@ packages:
240240
name: matcher
241241
url: "https://pub.dartlang.org"
242242
source: hosted
243-
version: "0.12.1+1"
243+
version: "0.12.1+3"
244244
memcache:
245245
description:
246246
name: memcache
@@ -324,7 +324,7 @@ packages:
324324
name: pub_server
325325
url: "https://pub.dartlang.org"
326326
source: hosted
327-
version: "0.1.1+3"
327+
version: "0.1.1+4"
328328
quiver:
329329
description:
330330
name: quiver
@@ -342,7 +342,7 @@ packages:
342342
name: shelf_packages_handler
343343
url: "https://pub.dartlang.org"
344344
source: hosted
345-
version: "1.0.0"
345+
version: "1.0.2"
346346
shelf_static:
347347
description:
348348
name: shelf_static

app/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ author: Dart Team
44
description: The pub.dartlang.org website.
55
sdk: ">=1.19.0 <2.0.0"
66
dependencies:
7-
appengine: '^0.4.1'
7+
appengine: '^0.4.2'
88
args: '^0.13.7'
99
gcloud: '>=0.4.0 <0.5.0'
1010
googleapis: '>=0.31.0 <0.37.0'

0 commit comments

Comments
 (0)