Skip to content

Commit c725400

Browse files
committed
update buildroot and docker, add resolv.conf
1 parent e3a29c7 commit c725400

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

Dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@ RUN apt-get update && apt-get install -y unzip \
1313
ENV ROOTFS /overlay
1414

1515
RUN mkdir -p /build
16-
ENV BUILDROOT_VERSION 20150916
16+
ENV BUILDROOT_VERSION 20151106
1717
RUN curl -L -o /build/buildroot.tar.bz2 http://buildroot.uclibc.org/downloads/snapshots/buildroot-$BUILDROOT_VERSION.tar.bz2 && \
1818
cd /build && \
1919
tar xf buildroot.tar.bz2 && \
2020
rm /build/buildroot.tar.bz2
2121

2222
# Add docker to our overlay
23-
RUN mkdir -p $ROOTFS/usr/local/bin
24-
ENV DOCKER_VERSION 1.8.2
25-
RUN curl -L -o $ROOTFS/usr/local/bin/docker https://get.docker.io/builds/Linux/x86_64/docker-$DOCKER_VERSION && \
26-
chmod +x $ROOTFS/usr/local/bin/docker
23+
RUN mkdir -p $ROOTFS/usr/bin
24+
ENV DOCKER_VERSION 1.9.0
25+
RUN curl -L -o $ROOTFS/usr/bin/docker https://get.docker.io/builds/Linux/x86_64/docker-$DOCKER_VERSION && \
26+
chmod +x $ROOTFS/usr/bin/docker
2727

2828
# Copy our custom overlay
29-
ENV VERSION 1.3.0
29+
ENV VERSION 1.4.0
3030
COPY rootfs $ROOTFS
3131
RUN echo $VERSION > $ROOTFS/etc/version
3232

rootfs/etc/init.d/S51docker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ start() {
2222
done
2323

2424
start-stop-daemon --start --quiet --background --make-pidfile --pidfile /var/run/docker.pid \
25-
--startas /bin/sh -- -c "exec /usr/local/bin/docker $DOCKER_ARGS >/var/log/docker.log 2>&1"
25+
--startas /bin/sh -- -c "exec /usr/bin/docker $DOCKER_ARGS >/var/log/docker.log 2>&1"
2626
[ $? = 0 ] && echo "OK" || echo "FAIL"
2727
}
2828
stop() {

rootfs/etc/resolv.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nameserver 8.8.8.8

0 commit comments

Comments
 (0)