Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some bug fixes #3

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 14 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
FROM debian:buster
FROM ubuntu:bionic

# Maintainer
LABEL maintainer "Alexander Graf <[email protected]>"
LABEL maintainer="Tony Pan <[email protected]>"

# Build arguments
ARG VCS_REF=master
ARG BUILD_DATE=""

# http://label-schema.org/rc1/
LABEL org.label-schema.schema-version "1.0"
LABEL org.label-schema.name "Dropbox"
LABEL org.label-schema.build-date "${BUILD_DATE}"
LABEL org.label-schema.description "Standalone Dropbox client on Linux"
LABEL org.label-schema.vcs-url "https://github.com/otherguy/docker-dropbox"
LABEL org.label-schema.vcs-ref "${VCS_REF}"
LABEL org.label-schema.schema-version="1.0"
LABEL org.label-schema.name="Dropbox"
LABEL org.label-schema.build-date="${BUILD_DATE}"
LABEL org.label-schema.description="Standalone Dropbox client on Linux"
LABEL org.label-schema.vcs-url="https://github.com/tcpan/docker-dropbox"
LABEL org.label-schema.vcs-ref="${VCS_REF}"

# Required to prevent warnings
ENV DEBIAN_FRONTEND noninteractive
ARG DEBIAN_FRONTEND=noninteractive

# Install prerequisites
RUN apt-get update \
&& apt-get install -y --no-install-recommends apt-transport-https ca-certificates curl gnupg2 software-properties-common gosu locales locales-all unzip build-essential
&& apt-get install -y --no-install-recommends apt-transport-https ca-certificates curl gnupg2 software-properties-common gosu locales locales-all unzip build-essential tzdata \
&& apt-get autoclean -y && apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*

# Create user and group
RUN mkdir -p /opt/dropbox /opt/dropbox/.dropbox /opt/dropbox/Dropbox \
Expand All @@ -44,9 +46,10 @@ EXPOSE 17500

# https://help.dropbox.com/installs-integrations/desktop/linux-repository
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FC918B335044912E \
&& add-apt-repository 'deb http://linux.dropbox.com/debian buster main' \
&& add-apt-repository 'deb http://linux.dropbox.com/ubuntu bionic main' \
&& apt-get update \
&& apt-get install -y --no-install-recommends libatomic1 python3-gpg dropbox \
&& apt-get autoclean -y && apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*

RUN curl --location https://github.com/dark/dropbox-filesystem-fix/archive/master.zip > /tmp/dropbox-filesystem-fix.zip \
Expand Down