File tree Expand file tree Collapse file tree 4 files changed +10
-17
lines changed
Expand file tree Collapse file tree 4 files changed +10
-17
lines changed Original file line number Diff line number Diff line change 1- FROM bbernhard/imagemonkey-buildbase :latest
1+ FROM bbernhard/imagemonkey-buildbase2 :latest
22
33ENV SENTRY_DSN=
44ENV X_CLIENT_ID=
@@ -14,11 +14,6 @@ RUN mkdir -p /home/go/bin
1414ENV GOPATH=/home/go
1515ENV GOBIN=/home/go/bin
1616
17- RUN apt-get update && apt-get install -y postgresql-client-9.6 --no-install-recommends \
18- # until this pull request (https://github.com/h2non/bimg/pull/266) is merged and https://github.com/h2non/bimg/issues/269 is resolved, use the fork
19- && curl -s https://raw.githubusercontent.com/bbernhard/bimg/master/preinstall.sh | bash - \
20- && rm -rf /var/lib/apt/lists/*
21-
2217COPY src/go.mod /tmp/src/go.mod
2318COPY src/go.sum /tmp/src/go.sum
2419
Original file line number Diff line number Diff line change @@ -13,15 +13,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1313RUN wget https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh --directory-prefix=/usr/bin \
1414 && chmod u+rx /usr/bin/wait-for-it.sh
1515
16- # until this pull request (https://github.com/h2non/bimg/pull/266) is merged and https://github.com/h2non/bimg/issues/269 is resolved, use the fork
17- #RUN curl -s https://raw.githubusercontent.com/bbernhard/bimg/master/preinstall.sh | bash -
18-
1916RUN useradd -m docker && echo "docker:docker" | chpasswd && adduser docker sudo
2017
2118RUN mkdir -p /home/go/bin \
2219 && cd /tmp/src \
2320 && go get -u -d gocv.io/x/gocv \
24- && cd /home/go/pkg/mod/gocv.io/x/gocv\@v0.20.0/ \
21+ && cd /home/go/pkg/mod/gocv.io/x/* \
2522 && make install \
2623 && rm -rf /tmp/src \
2724 && rm -rf /home/go/bin
Original file line number Diff line number Diff line change 1+ FROM bbernhard/imagemonkey-buildbase:latest
2+
3+ RUN apt-get update && apt-get install -y --no-install-recommends \
4+ postgresql-client-9.6 \
5+ # until this pull request (https://github.com/h2non/bimg/pull/266) is merged and https://github.com/h2non/bimg/issues/269 is resolved, use the fork
6+ && curl -s https://raw.githubusercontent.com/bbernhard/bimg/master/preinstall.sh | bash - \
7+ && rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change 1- FROM bbernhard/imagemonkey-buildbase :latest
1+ FROM bbernhard/imagemonkey-buildbase2 :latest
22
33ENV SENTRY_DSN=
44ENV X_CLIENT_ID=
@@ -19,12 +19,6 @@ ENV GOBIN=/home/go/bin
1919
2020RUN mkdir -p /home/imagemonkey
2121
22- RUN apt-get update && apt-get install -y pkg-config postgresql-client-9.6 --no-install-recommends \
23- # until this pull request (https://github.com/h2non/bimg/pull/266) is merged and https://github.com/h2non/bimg/issues/269 is resolved, use the fork
24- && curl -s https://raw.githubusercontent.com/bbernhard/bimg/master/preinstall.sh | bash - \
25- && rm -rf /var/lib/apt/lists/*
26-
27-
2822COPY src/web.go /tmp/src/web.go
2923COPY src/auth.go /tmp/src/auth.go
3024COPY src/commons /tmp/src/commons
You can’t perform that action at this time.
0 commit comments