Skip to content

Commit

Permalink
Merge pull request #20 from zweidenker/copy-sources-for-docker-build
Browse files Browse the repository at this point in the history
copying the source files into the container for build. Loading sources
  • Loading branch information
noha authored Jan 17, 2020
2 parents 22dd7d3 + 5c4cbfa commit 833bd12
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ RUN mv /opt/Pharo.image /opt/SnapDump.image
RUN mv /opt/Pharo.changes /opt/SnapDump.changes

COPY start.st /opt/
COPY source /opt/source

ARG CACHEBUST=1
RUN \
/opt/pharo /opt/SnapDump.image eval --save "Metacello new repository: 'github://zweidenker/SnapDump/source'; baseline: #SnapDump; load: #('server')" && \
/opt/pharo /opt/SnapDump.image eval --save "LGitLibrary class compile: 'startUp: isImageStarting'" && \
rm -rf /opt/pharo-local
/opt/pharo /opt/SnapDump.image eval --save "Metacello new repository: 'filetree:///opt/source'; baseline: #SnapDump; load: #('server')" && \
rm -rf /opt/pharo-local /opt/source

RUN \
apt-get -y remove --purge unzip libgit2-26 && \
Expand Down

0 comments on commit 833bd12

Please sign in to comment.