Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Kazuki Matsuda authored Oct 13, 2016
1 parent ff2bbc5 commit 6428615
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM debian:jessie

ENV TZ=Asia/Tokyo \
VERSION=3.6.11
ENV VERSION=3.6.12

RUN apt-get update && \
apt-get install -y --no-install-recommends wget gcc python python-dev && \
Expand All @@ -14,8 +13,8 @@ RUN apt-get update && \
ln -sf /dev/stdout /var/log/amc/aerospike_amc.log

# Patch
RUN TXT='\ new_sets = []\n for st in response["sets"]:\n try:\n st["set_name"].encode("ascii")\n new_sets.append(st)\n except:\n pass\n response["sets"] = new_sets' && \
sed -i -e "180i $TXT" /opt/amc/server/flaskapp.py
#RUN TXT='\ new_sets = []\n for st in response["sets"]:\n try:\n st["set_name"].encode("ascii")\n new_sets.append(st)\n except:\n pass\n response["sets"] = new_sets' && \
# sed -i -e "180i $TXT" /opt/amc/server/flaskapp.py

EXPOSE 8081

Expand Down

0 comments on commit 6428615

Please sign in to comment.