-
Notifications
You must be signed in to change notification settings - Fork 7
/
Dockerfile
28 lines (21 loc) · 862 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM debian:sid
# Avoid warnings by switching to noninteractive
ENV DEBIAN_FRONTEND=noninteractive
# This Dockerfile adds a non-root user with sudo access. Use the "remoteUser"
# property in devcontainer.json to use it. On Linux, the container user's GID/UIDs
# will be updated to match your local UID/GID (when using the dockerFile property).
# See https://aka.ms/vscode-remote/containers/non-root-user for details.
ARG USERNAME=vscode
ARG USER_UID=1000
ARG USER_GID=$USER_UID
ARG apt_extra_package_list
ARG pip_extra_package_list
COPY bootstrap.sh /scripts/
ENV apt_extra_package_list=${apt_extra_package_list}
ENV pip_extra_package_list=${pip_extra_package_list}
# Configure apt and install packages
RUN chmod +x /scripts/bootstrap.sh
RUN env
RUN /scripts/bootstrap.sh
# Switch back to dialog for any ad-hoc use of apt-get
ENV DEBIAN_FRONTEND=dialog