mirror of
https://github.com/VSCodium/vscodium-docker-files.git
synced 2025-12-11 05:45:47 -06:00
Install build-essential after installing other deps
This commit is contained in:
parent
868ee75791
commit
2a523c1b3a
@ -1,13 +1,13 @@
|
|||||||
FROM ubuntu:trusty
|
FROM ubuntu:trusty
|
||||||
|
|
||||||
# we want bash
|
# we want bash as shell
|
||||||
SHELL ["/bin/bash", "-c"]
|
SHELL ["/bin/bash", "-c"]
|
||||||
|
|
||||||
WORKDIR "/home"
|
WORKDIR "/home"
|
||||||
|
|
||||||
# some basic tools needed
|
# some basic tools needed
|
||||||
RUN sudo apt-get update
|
RUN sudo apt-get update
|
||||||
RUN sudo apt-get install -y curl git build-essential
|
RUN sudo apt-get install -y curl git
|
||||||
|
|
||||||
# get vscodium repo
|
# get vscodium repo
|
||||||
RUN ["git", "clone", "https://github.com/vscodium/vscodium.git"]
|
RUN ["git", "clone", "https://github.com/vscodium/vscodium.git"]
|
||||||
@ -26,11 +26,10 @@ RUN mkdir -p /usr/local/nvm \
|
|||||||
RUN source $NVM_DIR/nvm.sh \
|
RUN source $NVM_DIR/nvm.sh \
|
||||||
&& curl -o- -L https://yarnpkg.com/install.sh | bash
|
&& curl -o- -L https://yarnpkg.com/install.sh | bash
|
||||||
|
|
||||||
# install deps
|
# run install deps
|
||||||
RUN sudo dpkg --add-architecture i386
|
RUN export BUILDARCH=ia32 && ./install_deps.sh
|
||||||
RUN sudo apt-get update
|
# apt removes build-essential after this for some reason
|
||||||
RUN sudo apt-get install -y fakeroot rpm jq
|
RUN sudo apt-get install -y build-essential
|
||||||
RUN sudo apt-get install -y libx11-dev:i386 libxkbfile-dev:i386 libsecret-1-dev:i386 libc6-dev-i386 gcc-multilib g++-multilib
|
|
||||||
|
|
||||||
# set flags
|
# set flags
|
||||||
ENV CFLAGS=-m32
|
ENV CFLAGS=-m32
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user