Skip to content

Commit a99435d

Browse files
committed
Avoid building hdfs-fixure use an image that works instead
Avoid the additional requirement for the debian package repos to be up, and depend on dockerhub only instead.
1 parent 33917dd commit a99435d

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

test/fixtures/hdfs-fixture/Dockerfile

Lines changed: 0 additions & 8 deletions
This file was deleted.

test/fixtures/hdfs-fixture/docker-compose.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ version: '3'
22
services:
33
hdfs:
44
hostname: hdfs.build.elastic.co
5-
build:
6-
context: .
7-
dockerfile: Dockerfile
5+
image: ubuntu:14.04
86
volumes:
97
- ./build/fixture:/fixture
108
ports:
9+
# FIXME: Don't fix the host ports
1110
- "9999:9999"
11+
- "9998:9999"
12+
entrypoint: apt-get update && apt-get install net-tools && java -cp "/fixture:/fixture/*" hdfs.MiniHDFS /data

0 commit comments

Comments
 (0)