File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 1
1
FROM golang:1.20.5-bullseye AS build
2
2
ARG COMMIT=53afb72ae12955edaac20533d9fcfda12b630336
3
- # RUN apt-get update && apt-get install -y \
4
- # git \
5
- # wget \
6
- # build-base shadow
7
3
8
4
ENV GO111MODULE=on
9
5
RUN go install github.com/perkeep/gphotos-cdp@${COMMIT}
@@ -26,14 +22,16 @@ RUN apt-get update && apt-get install -y \
26
22
ffmpeg \
27
23
&& rm -rf /var/lib/apt/lists/*
28
24
29
- # Set the locale
25
+ # Set the locale
30
26
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
31
27
locale-gen
32
28
ENV LANG en_US.UTF-8
33
29
ENV LANGUAGE en_US:en
34
30
ENV LC_ALL en_US.UTF-8
35
31
32
+ # copy tool binary
36
33
COPY --from=build /go/bin/gphotos-cdp /usr/local/bin/
34
+ # copy default script
37
35
COPY save.sh /usr/local/bin/
38
36
39
37
VOLUME /tmp/gphotos-cdp
You can’t perform that action at this time.
0 commit comments