Skip to content

Commit dbed8a1

Browse files
chore: code cleanup
1 parent c7c3ffb commit dbed8a1

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
FROM golang:1.20.5-bullseye AS build
22
ARG COMMIT=53afb72ae12955edaac20533d9fcfda12b630336
3-
# RUN apt-get update && apt-get install -y \
4-
# git \
5-
# wget \
6-
# build-base shadow
73

84
ENV GO111MODULE=on
95
RUN go install github.com/perkeep/gphotos-cdp@${COMMIT}
@@ -26,14 +22,16 @@ RUN apt-get update && apt-get install -y \
2622
ffmpeg \
2723
&& rm -rf /var/lib/apt/lists/*
2824

29-
# Set the locale
25+
# Set the locale
3026
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
3127
locale-gen
3228
ENV LANG en_US.UTF-8
3329
ENV LANGUAGE en_US:en
3430
ENV LC_ALL en_US.UTF-8
3531

32+
# copy tool binary
3633
COPY --from=build /go/bin/gphotos-cdp /usr/local/bin/
34+
# copy default script
3735
COPY save.sh /usr/local/bin/
3836

3937
VOLUME /tmp/gphotos-cdp

0 commit comments

Comments
 (0)