<commit_before># Dockerfile for ubuntu trusty (14.04) running ms visual studio code
FROM ubuntu:trusty
MAINTAINER <NAME> <<EMAIL>>

# Install visual studio code
RUN apt-get update && apt-get install -y software-properties-common
RUN add-apt-repository ppa:ubuntu-lxc/lxd-stable
RUN apt-get update && apt-get install -y \
  build-essential \
  ca-certificates \
  curl \
  git \
  golang \
  libc6-dev \
  nodejs \
  npm \
  unzip \
  wget \
  libasound2 \
  libgconf-2-4 \
  libgnome-keyring-dev \
  libgtk2.0-0 \
  libnss3 \
  libpci3 \
  libxss1 \
  libxtst6 \
  libcanberra-gtk-module \
  libnotify4
RUN rm -rf /var/lib/apt/lists/* && npm update -g
RUN wget https://go.microsoft.com/fwlink/?LinkID=620884 --output-document=/usr/local/vscode.tgz
WORKDIR /usr/local
RUN tar -xzvf vscode.tgz
ENV HOME /home/user
RUN useradd -g adm --create-home --home-dir $HOME user && chown -R user:adm $HOME
COPY usr/local/bin/vscode /usr/local/bin/vscode
ENV GOPATH=$HOME/go
ENV PATH=$PATH:$GOPATH/bin
RUN go get -u github.com/golang/lint/golint
RUN go get -u github.com/rogpeppe/godef

WORKDIR $HOME
ENTRYPOINT [ "/usr/local/bin/vscode" ]
<commit_msg>Refactored the Dockerfile to reduce the resulting image size<commit_after># Dockerfile for ubuntu trusty (14.04) running ms visual studio code
FROM ubuntu:trusty
MAINTAINER <NAME> <<EMAIL>>

WORKDIR /usr/local
ENV HOME /home/user
ENV GOPATH=$HOME/go
ENV PATH=$PATH:$GOPATH/bin

COPY usr/local/bin/vscode /usr/local/bin/vscode

# Install visual studio code
RUN apt-get update && apt-get install -y software-properties-common && \
  add-apt-repository ppa:ubuntu-lxc/lxd-stable && \
  apt-get update && apt-get install -y \
  build-essential \
  ca-certificates \
  curl \
  git \
  golang \
  libc6-dev \
  nodejs \
  npm \
  unzip \
  wget \
  libasound2 \
  libgconf-2-4 \
  libgnome-keyring-dev \
  libgtk2.0-0 \
  libnss3 \
  libpci3 \
  libxss1 \
  libxtst6 \
  libcanberra-gtk-module \
  libnotify4 && \
  apt-get clean && \
  rm -rf /var/lib/apt/lists/* && npm update -g && \
  wget https://go.microsoft.com/fwlink/?LinkID=620884 --output-document=/usr/local/vscode.tgz && \
  tar -xzvf vscode.tgz && \
  useradd -g adm --create-home --home-dir $HOME user && chown -R user:adm $HOME && \
  go get -u github.com/golang/lint/golint && \
  go get -u github.com/rogpeppe/godef

WORKDIR $HOME
ENTRYPOINT [ "/usr/local/bin/vscode" ]

{'fraction_non_alphanumeric': 0.13237774030354132, 'fraction_numerical': 0.01854974704890388, 'mean_word_length': 2.896551724137931, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1583092', 'n_tokens_mistral': 987, 'n_tokens_neox': 905, 'n_words': 220}